v1.5 branch refresh based upon upstream master @ c8677ca89e53e3be7988d54280fce166cc894a7e
[librecmc/librecmc.git] / package / kernel / mac80211 / patches / 361-ath9k-clear-potentially-stale-EOSP-status-bit-in-int.patch
1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Sun, 28 Aug 2016 13:13:42 +0200
3 Subject: [PATCH] ath9k: clear potentially stale EOSP status bit in
4  intermediate queues
5
6 Prevents spurious ieee80211_sta_eosp calls.
7
8 Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 ---
10
11 --- a/drivers/net/wireless/ath/ath9k/xmit.c
12 +++ b/drivers/net/wireless/ath/ath9k/xmit.c
13 @@ -984,7 +984,8 @@ ath_tx_get_tid_subframe(struct ath_softc
14                 bf->bf_lastbf = bf;
15  
16                 tx_info = IEEE80211_SKB_CB(skb);
17 -               tx_info->flags &= ~IEEE80211_TX_CTL_CLEAR_PS_FILT;
18 +               tx_info->flags &= ~(IEEE80211_TX_CTL_CLEAR_PS_FILT |
19 +                                   IEEE80211_TX_STATUS_EOSP);
20  
21                 /*
22                  * No aggregation session is running, but there may be frames