ath9k: add a fix for rx overrun processing
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 563-ath9k_rxorn_intr_fix.patch
1 --- a/drivers/net/wireless/ath/ath9k/main.c
2 +++ b/drivers/net/wireless/ath/ath9k/main.c
3 @@ -628,8 +628,7 @@ irqreturn_t ath_isr(int irq, void *dev)
4 * If a FATAL or RXORN interrupt is received, we have to reset the
5 * chip immediately.
6 */
7 - if ((status & ATH9K_INT_FATAL) || ((status & ATH9K_INT_RXORN) &&
8 - !(ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)))
9 + if (status & ATH9K_INT_FATAL)
10 goto chip_reset;
11
12 if ((ah->config.hw_hang_checks & HW_BB_WATCHDOG) &&