summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/554-ath9k_ani_mrc_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-12-07 16:46:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-12-07 16:46:04 +0000
commit6716ba9aadc93b2858ab800a84cb4335c92324ff (patch)
tree8f8fbea06486b2e23eb4be46d92b4b0f121e831c /package/mac80211/patches/554-ath9k_ani_mrc_fix.patch
parent3365e2caf014e24ff8ea091a3d93cb89f330b70b (diff)
downloadmaster-31e0f0ae-6716ba9aadc93b2858ab800a84cb4335c92324ff.tar.gz
master-31e0f0ae-6716ba9aadc93b2858ab800a84cb4335c92324ff.tar.bz2
master-31e0f0ae-6716ba9aadc93b2858ab800a84cb4335c92324ff.zip
mac80211: update to wireless-testing 2012-12-06
SVN-Revision: 34571
Diffstat (limited to 'package/mac80211/patches/554-ath9k_ani_mrc_fix.patch')
-rw-r--r--package/mac80211/patches/554-ath9k_ani_mrc_fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/mac80211/patches/554-ath9k_ani_mrc_fix.patch b/package/mac80211/patches/554-ath9k_ani_mrc_fix.patch
new file mode 100644
index 0000000000..80f372fec6
--- /dev/null
+++ b/package/mac80211/patches/554-ath9k_ani_mrc_fix.patch
@@ -0,0 +1,13 @@
+--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
++++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
+@@ -1085,6 +1085,10 @@ static bool ar9003_hw_ani_control(struct
+ * is_on == 0 means MRC CCK is OFF (more noise imm)
+ */
+ bool is_on = param ? 1 : 0;
++
++ if (ah->caps.rx_chainmask == 1)
++ break;
++
+ REG_RMW_FIELD(ah, AR_PHY_MRC_CCK_CTRL,
+ AR_PHY_MRC_CCK_ENABLE, is_on);
+ REG_RMW_FIELD(ah, AR_PHY_MRC_CCK_CTRL,