ath9k: add a fix for rx overrun processing

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41029
This commit is contained in:
Felix Fietkau 2014-06-05 23:33:57 +00:00
parent 5fc3c8252a
commit 75d3a6abb7

View file

@ -0,0 +1,12 @@
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -628,8 +628,7 @@ irqreturn_t ath_isr(int irq, void *dev)
* If a FATAL or RXORN interrupt is received, we have to reset the
* chip immediately.
*/
- if ((status & ATH9K_INT_FATAL) || ((status & ATH9K_INT_RXORN) &&
- !(ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)))
+ if (status & ATH9K_INT_FATAL)
goto chip_reset;
if ((ah->config.hw_hang_checks & HW_BB_WATCHDOG) &&