aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-08-28 17:59:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-08-28 17:59:03 +0000
commit1d6f21de611d91a80da390b23930256f52d1aa01 (patch)
treebf0e438c600bd207b022edcd5567b48a70378818 /package/mac80211
parentc3bcd846e9d36948fad886ac416db396e335d0e2 (diff)
downloadupstream-1d6f21de611d91a80da390b23930256f52d1aa01.tar.gz
upstream-1d6f21de611d91a80da390b23930256f52d1aa01.tar.bz2
upstream-1d6f21de611d91a80da390b23930256f52d1aa01.zip
ath9k: fix a WARN_ON when aggregation start is issued more than once, should improve stability with 802.11n
SVN-Revision: 22827
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/580-ath9k_aggr_start_fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/mac80211/patches/580-ath9k_aggr_start_fix.patch b/package/mac80211/patches/580-ath9k_aggr_start_fix.patch
new file mode 100644
index 0000000000..1dcac53e4e
--- /dev/null
+++ b/package/mac80211/patches/580-ath9k_aggr_start_fix.patch
@@ -0,0 +1,12 @@
+--- a/drivers/net/wireless/ath/ath9k/xmit.c
++++ b/drivers/net/wireless/ath/ath9k/xmit.c
+@@ -124,7 +124,8 @@ static void ath_tx_resume_tid(struct ath
+ {
+ struct ath_txq *txq = &sc->tx.txq[tid->ac->qnum];
+
+- WARN_ON(!tid->paused);
++ if (!tid->paused)
++ return;
+
+ spin_lock_bh(&txq->axq_lock);
+ tid->paused = false;