ath9k: completely disable the MIB interrupt from the interrupt mask register to prevent potential interrupt storms

SVN-Revision: 33032
This commit is contained in:
Felix Fietkau 2012-08-07 09:36:24 +00:00
parent a55de42c7d
commit 143ef2c8ff

View File

@ -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);