Browse Source

ath9k: add a fix for rx overrun processing

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 41029
Felix Fietkau 11 years ago
parent
commit
75d3a6abb7
1 changed files with 12 additions and 0 deletions
  1. 12 0
      package/kernel/mac80211/patches/563-ath9k_rxorn_intr_fix.patch

+ 12 - 0
package/kernel/mac80211/patches/563-ath9k_rxorn_intr_fix.patch

@@ -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) &&