ath9k: fix a WARN_ON when aggregation start is issued more than once, should improve...
authorFelix Fietkau <nbd@openwrt.org>
Sat, 28 Aug 2010 17:59:03 +0000 (17:59 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 28 Aug 2010 17:59:03 +0000 (17:59 +0000)
SVN-Revision: 22827

package/mac80211/patches/580-ath9k_aggr_start_fix.patch [new file with mode: 0644]

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 (file)
index 0000000..1dcac53
--- /dev/null
@@ -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;