openwrtv4/package/kernel/mac80211/patches/567-ath9k_tid_active_check.patch
Felix Fietkau 36e6d4ca53 ath9k: fix several issues in the tx queueing rework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37616
2013-07-29 19:44:05 +00:00

12 lines
453 B
Diff

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