aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-08-07 09:36:24 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-08-07 09:36:24 +0000
commit6fea07e8547297af80a243a70be73dac249cbe80 (patch)
tree84a825750d681ee9fb11a87d670ea1bd96621617 /package
parente41d1a7d4eee2cc6a564aea2450bca1bdc2209e6 (diff)
downloadupstream-6fea07e8547297af80a243a70be73dac249cbe80.tar.gz
upstream-6fea07e8547297af80a243a70be73dac249cbe80.tar.bz2
upstream-6fea07e8547297af80a243a70be73dac249cbe80.zip
ath9k: completely disable the MIB interrupt from the interrupt mask register to prevent potential interrupt storms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33032 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/564-ath9k_remove_imr_mib.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/mac80211/patches/564-ath9k_remove_imr_mib.patch b/package/mac80211/patches/564-ath9k_remove_imr_mib.patch
new file mode 100644
index 0000000000..7869c27bc6
--- /dev/null
+++ b/package/mac80211/patches/564-ath9k_remove_imr_mib.patch
@@ -0,0 +1,12 @@
+--- a/drivers/net/wireless/ath/ath9k/hw.c
++++ b/drivers/net/wireless/ath/ath9k/hw.c
+@@ -986,9 +986,6 @@ static void ath9k_hw_init_interrupt_mask
+ else
+ imr_reg |= AR_IMR_TXOK;
+
+- if (opmode == NL80211_IFTYPE_AP)
+- imr_reg |= AR_IMR_MIB;
+-
+ ENABLE_REGWRITE_BUFFER(ah);
+
+ REG_WRITE(ah, AR_IMR, imr_reg);