ath9k: fix memory corruption issues on ar5416/ar91xx
[openwrt/openwrt.git] / package / mac80211 / patches / 510-ath9k_intr_mitigation_tweak.patch
index 322a381874459ec5760a2ea3f646c9b57edc1450..ff6ff27a1ffa63171d6d339c100ccfc2e1d2960d 100644 (file)
@@ -1,7 +1,7 @@
 --- a/drivers/net/wireless/ath/ath9k/hw.c
 +++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -1468,8 +1468,8 @@ int ath9k_hw_reset(struct ath_hw *ah, st
-       REG_WRITE(ah, AR_OBS, 8);
+@@ -1947,8 +1947,8 @@ int ath9k_hw_reset(struct ath_hw *ah, st
+               REG_WRITE(ah, AR_OBS, 8);
  
        if (ah->config.rx_intr_mitigation) {
 -              REG_RMW_FIELD(ah, AR_RIMT, AR_RIMT_LAST, 500);