ath9k: add a fix for rx overrun processing
authorFelix Fietkau <nbd@openwrt.org>
Thu, 5 Jun 2014 23:33:57 +0000 (23:33 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 5 Jun 2014 23:33:57 +0000 (23:33 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41029

package/kernel/mac80211/patches/563-ath9k_rxorn_intr_fix.patch [new file with mode: 0644]

diff --git a/package/kernel/mac80211/patches/563-ath9k_rxorn_intr_fix.patch b/package/kernel/mac80211/patches/563-ath9k_rxorn_intr_fix.patch
new file mode 100644 (file)
index 0000000..47a7d82
--- /dev/null
@@ -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) &&