aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-05 23:33:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-05 23:33:57 +0000
commit75d3a6abb776928172a570a514ce877cfa2dc0eb (patch)
tree18f8f53ebfc19df3f735d39097ae7e24784fe884
parent5fc3c8252acc17e19b826031556ddfe47c6cd112 (diff)
downloadupstream-75d3a6abb776928172a570a514ce877cfa2dc0eb.tar.gz
upstream-75d3a6abb776928172a570a514ce877cfa2dc0eb.tar.bz2
upstream-75d3a6abb776928172a570a514ce877cfa2dc0eb.zip
ath9k: add a fix for rx overrun processing
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41029
-rw-r--r--package/kernel/mac80211/patches/563-ath9k_rxorn_intr_fix.patch12
1 files changed, 12 insertions, 0 deletions
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
index 0000000000..47a7d82904
--- /dev/null
+++ b/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) &&