summaryrefslogtreecommitdiff
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-07-12 14:45:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-07-12 14:45:59 +0000
commita1f0b3a771361ec9203c51c9d26a89eed6ac4da0 (patch)
tree103c4d4c13b4d32b67d0860cd7e0e9caed0bbd76 /package/mac80211
parentc78c2f80a13188fdabb009f9ab84904ba8d4cc6f (diff)
downloadmtk-20170518-a1f0b3a771361ec9203c51c9d26a89eed6ac4da0.zip
mtk-20170518-a1f0b3a771361ec9203c51c9d26a89eed6ac4da0.tar.gz
mtk-20170518-a1f0b3a771361ec9203c51c9d26a89eed6ac4da0.tar.bz2
ath9k: fix selecting the second antenna on a single-stream device with diversity
SVN-Revision: 32685
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/561-ath9k_antenna_mask_validate.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/patches/561-ath9k_antenna_mask_validate.patch b/package/mac80211/patches/561-ath9k_antenna_mask_validate.patch
index 9ad4f57..63fce77 100644
--- a/package/mac80211/patches/561-ath9k_antenna_mask_validate.patch
+++ b/package/mac80211/patches/561-ath9k_antenna_mask_validate.patch
@@ -6,7 +6,7 @@
+static bool validate_antenna_mask(struct ath_hw *ah, u32 val)
+{
-+ switch (val & ah->caps.rx_chainmask) {
++ switch (val & 0x7) {
+ case 0x1:
+ case 0x3:
+ case 0x7: