summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/563-ath9k_enable_ar9340_ani.patch
diff options
context:
space:
mode:
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)