ath9k: completely disable the MIB interrupt from the interrupt mask register to preve...
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 564-ath9k_remove_imr_mib.patch
1 --- a/drivers/net/wireless/ath/ath9k/hw.c
2 +++ b/drivers/net/wireless/ath/ath9k/hw.c
3 @@ -986,9 +986,6 @@ static void ath9k_hw_init_interrupt_mask
4 else
5 imr_reg |= AR_IMR_TXOK;
6
7 - if (opmode == NL80211_IFTYPE_AP)
8 - imr_reg |= AR_IMR_MIB;
9 -
10 ENABLE_REGWRITE_BUFFER(ah);
11
12 REG_WRITE(ah, AR_IMR, imr_reg);