aboutsummaryrefslogtreecommitdiffstats
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
commita20ec2f0b997868ca0ccf7f7b2ca00d432f866d4 (patch)
treed4971fd97f2c99cf1db9b6133bf3ac1c7879a6ca
parentb5d7bca405ceaf89a7c5135047db017cb17c2a61 (diff)
downloadmaster-187ad058-a20ec2f0b997868ca0ccf7f7b2ca00d432f866d4.tar.gz
master-187ad058-a20ec2f0b997868ca0ccf7f7b2ca00d432f866d4.tar.bz2
master-187ad058-a20ec2f0b997868ca0ccf7f7b2ca00d432f866d4.zip
ath9k: fix selecting the second antenna on a single-stream device with diversity
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32685 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 9ad4f57d3d..63fce77f19 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: