summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/564-ath9k_mcs_mask_fix.patch
blob: 4d0ac2de1bdf3a46a4ea9efd8633c59451341207 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -19,7 +19,7 @@
 
 #define BITS_PER_BYTE           8
 #define OFDM_PLCP_BITS          22
-#define HT_RC_2_MCS(_rc)        ((_rc) & 0x0f)
+#define HT_RC_2_MCS(_rc)        ((_rc) & 0x1f)
 #define HT_RC_2_STREAMS(_rc)    ((((_rc) & 0x78) >> 3) + 1)
 #define L_STF                   8
 #define L_LTF                   8