All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3.6 1/4] ath9k_hw: do not enable the MIB interrupt in the interrupt mask register
@ 2012-08-07 13:06 Felix Fietkau
  2012-08-07 13:06 ` [PATCH 3.6 2/4] ath9k_hw: clear the AM2PM predistortion mask on AR933x Felix Fietkau
  0 siblings, 1 reply; 12+ messages in thread
From: Felix Fietkau @ 2012-08-07 13:06 UTC (permalink / raw)
  To: linux-wireless; +Cc: linville, mcgrof

The interrupt is no longer handling it. While it shouldn't fire (wraparound
is highly unlikely), the consequences would be fatal (interrupt storm).
Disable the interrupt to prevent that from happening.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
---
 drivers/net/wireless/ath/ath9k/hw.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 60b6a9d..d95474e 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -978,9 +978,6 @@ static void ath9k_hw_init_interrupt_masks(struct ath_hw *ah,
 	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);
-- 
1.7.9.6 (Apple Git-31.1)


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-08-10 18:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-07 13:06 [PATCH 3.6 1/4] ath9k_hw: do not enable the MIB interrupt in the interrupt mask register Felix Fietkau
2012-08-07 13:06 ` [PATCH 3.6 2/4] ath9k_hw: clear the AM2PM predistortion mask on AR933x Felix Fietkau
2012-08-07 13:06   ` [PATCH 3.6 3/4] ath9k_hw: calibrate PA input for PA predistortion Felix Fietkau
2012-08-07 13:06     ` [PATCH 3.6 4/4] ath9k_hw: enable PA linearization Felix Fietkau
2012-08-08 14:17       ` Mohammed Shafi
2012-08-08 14:23         ` Felix Fietkau
2012-08-08 14:55       ` Rajkumar Manoharan
2012-08-08 15:12         ` Felix Fietkau
2012-08-08 15:29           ` Rajkumar Manoharan
2012-08-10 18:44             ` John W. Linville
2012-08-09  4:45           ` Mohammed Shafi
2012-08-10 16:14       ` Sujith Manoharan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.