diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2010-08-28 17:59:03 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@openwrt.org> | 2010-08-28 17:59:03 +0000 |
| commit | ffb79f6fbd0319efb78c0ec45293bfc30ce75c64 (patch) | |
| tree | 8d4c14e5a7d21190fabb5732bf12c0e69506b858 | |
| parent | f9ba149172d0056f13d446636223a77dc8ed8d67 (diff) | |
| download | upstream-ffb79f6fbd0319efb78c0ec45293bfc30ce75c64.tar.gz upstream-ffb79f6fbd0319efb78c0ec45293bfc30ce75c64.tar.bz2 upstream-ffb79f6fbd0319efb78c0ec45293bfc30ce75c64.zip | |
ath9k: fix a WARN_ON when aggregation start is issued more than once, should improve stability with 802.11n
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22827 3c298f89-4303-0410-b956-a3cf2f4a3e73
| -rw-r--r-- | package/mac80211/patches/580-ath9k_aggr_start_fix.patch | 12 |
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 00000000000..1dcac53e4e0 --- /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; |
