summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/563-ath9k_enable_ar9340_ani.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-27 02:15:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-06-27 02:15:25 +0000
commitd4c6868027273aee151dcc201cea4aba2ac172d0 (patch)
tree93ae32d9543f6263c694d6bfbbcbc769c8ce37d3 /package/mac80211/patches/563-ath9k_enable_ar9340_ani.patch
parent1e884c092331cf9df113b8d479f2d7fe4c467b42 (diff)
downloadmaster-31e0f0ae-d4c6868027273aee151dcc201cea4aba2ac172d0.tar.gz
master-31e0f0ae-d4c6868027273aee151dcc201cea4aba2ac172d0.tar.bz2
master-31e0f0ae-d4c6868027273aee151dcc201cea4aba2ac172d0.zip
ath9k: more ani fixes
SVN-Revision: 32510
Diffstat (limited to 'package/mac80211/patches/563-ath9k_enable_ar9340_ani.patch')
-rw-r--r--package/mac80211/patches/563-ath9k_enable_ar9340_ani.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/mac80211/patches/563-ath9k_enable_ar9340_ani.patch b/package/mac80211/patches/563-ath9k_enable_ar9340_ani.patch
new file mode 100644
index 0000000000..7503634776
--- /dev/null
+++ b/package/mac80211/patches/563-ath9k_enable_ar9340_ani.patch
@@ -0,0 +1,13 @@
+--- a/drivers/net/wireless/ath/ath9k/hw.c
++++ b/drivers/net/wireless/ath/ath9k/hw.c
+@@ -676,10 +676,6 @@ static int __ath9k_hw_init(struct ath_hw
+ if (!AR_SREV_9300_20_OR_LATER(ah))
+ ah->ani_function &= ~ATH9K_ANI_MRC_CCK;
+
+- /* disable ANI for 9340 */
+- if (AR_SREV_9340(ah))
+- ah->config.enable_ani = false;
+-
+ ath9k_hw_init_mode_regs(ah);
+
+ if (!ah->is_pciexpress)