1 --- a/drivers/net/wireless/ath/ath9k/mac.c
2 +++ b/drivers/net/wireless/ath/ath9k/mac.c
3 @@ -891,7 +891,7 @@ void ath9k_hw_set_interrupts(struct ath_
4 struct ath_common *common = ath9k_hw_common(ah);
6 if (!(ints & ATH9K_INT_GLOBAL))
7 - ath9k_hw_enable_interrupts(ah);
8 + ath9k_hw_disable_interrupts(ah);
10 ath_dbg(common, ATH_DBG_INTERRUPT, "0x%x => 0x%x\n", omask, ints);
12 @@ -969,7 +969,8 @@ void ath9k_hw_set_interrupts(struct ath_
13 REG_CLR_BIT(ah, AR_IMR_S5, AR_IMR_S5_TIM_TIMER);
16 - ath9k_hw_enable_interrupts(ah);
17 + if (ints & ATH9K_INT_GLOBAL)
18 + ath9k_hw_enable_interrupts(ah);