summaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/567-ath9k_tid_active_check.patch
blob: ae01f183fdfc43a19f79b28d2d8755bbfb4def7c (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
@@ -520,7 +520,8 @@ static void ath_tx_complete_aggr(struct 
 		tx_info = IEEE80211_SKB_CB(skb);
 		fi = get_frame_info(skb);
 
-		if (!BAW_WITHIN(tid->seq_start, tid->baw_size, seqno)) {
+		if (!BAW_WITHIN(tid->seq_start, tid->baw_size, seqno) ||
+		    !tid->active) {
 			/*
 			 * Outside of the current BlockAck window,
 			 * maybe part of a previous session