aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/530-ath9k_aggr_start_fix.patch
blob: 1dcac53e4e00d8049d73f34e2165e2a7b0faae2d (plain)
1
2
3
4
5
6
7
8
9
10
11
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;