summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/patches/567-ath9k_tid_active_check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/mac80211/patches/567-ath9k_tid_active_check.patch')
-rw-r--r--package/kernel/mac80211/patches/567-ath9k_tid_active_check.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/567-ath9k_tid_active_check.patch b/package/kernel/mac80211/patches/567-ath9k_tid_active_check.patch
new file mode 100644
index 0000000000..ae01f183fd
--- /dev/null
+++ b/package/kernel/mac80211/patches/567-ath9k_tid_active_check.patch
@@ -0,0 +1,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