summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/563-ath9k_enable_ar9340_ani.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-27 02:15:25 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-27 02:15:25 +0000
commitfc00da6b46c5e45d936845b6ab0f1caf269b5d3a (patch)
tree7f9e0b469befc4cc0ad97ff5eb75a5b7c7668557 /package/mac80211/patches/563-ath9k_enable_ar9340_ani.patch
parent5f0e5c8f58a45ae9ee4ffe27bd3aa77d665ef0f0 (diff)
ath9k: more ani fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32510 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 000000000..750363477
--- /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)