mac80211: refresh a patch that was using the wrong patch style
[openwrt/svn-archive/archive.git] / package / kernel / mac80211 / patches / 567-ath9k_tid_active_check.patch
1 --- a/drivers/net/wireless/ath/ath9k/xmit.c
2 +++ b/drivers/net/wireless/ath/ath9k/xmit.c
3 @@ -520,7 +520,8 @@ static void ath_tx_complete_aggr(struct
4 tx_info = IEEE80211_SKB_CB(skb);
5 fi = get_frame_info(skb);
6
7 - if (!BAW_WITHIN(tid->seq_start, tid->baw_size, seqno)) {
8 + if (!BAW_WITHIN(tid->seq_start, tid->baw_size, seqno) ||
9 + !tid->active) {
10 /*
11 * Outside of the current BlockAck window,
12 * maybe part of a previous session