ath9k: fix a WARN_ON when aggregation start is issued more than once, should improve stability with 802.11n

SVN-Revision: 22827
This commit is contained in:
Felix Fietkau 2010-08-28 17:59:03 +00:00
parent c3bcd846e9
commit 1d6f21de61
1 changed files with 12 additions and 0 deletions

View File

@ -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;