From 143ef2c8ff1b5b9c6eeb81b492bcecad8cab15ad Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 7 Aug 2012 09:36:24 +0000 Subject: [PATCH] ath9k: completely disable the MIB interrupt from the interrupt mask register to prevent potential interrupt storms SVN-Revision: 33032 --- .../mac80211/patches/564-ath9k_remove_imr_mib.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/mac80211/patches/564-ath9k_remove_imr_mib.patch 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); -- 2.30.2