mac80211: update to wireless-testing 2017-10-06
[openwrt/staging/chunkeey.git] / package / kernel / mac80211 / patches / 311-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