diff options
Diffstat (limited to 'package/mac80211/patches/564-ath9k_mcs_mask_fix.patch')
-rw-r--r-- | package/mac80211/patches/564-ath9k_mcs_mask_fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/564-ath9k_mcs_mask_fix.patch b/package/mac80211/patches/564-ath9k_mcs_mask_fix.patch new file mode 100644 index 0000000000..4d0ac2de1b --- /dev/null +++ b/package/mac80211/patches/564-ath9k_mcs_mask_fix.patch @@ -0,0 +1,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 |