OSDN Git Service

ath9k: clear potentially stale EOSP status bit in intermediate queues
authorFelix Fietkau <nbd@nbd.name>
Mon, 30 Jul 2018 18:31:21 +0000 (21:31 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 31 Jul 2018 07:52:00 +0000 (10:52 +0300)
Prevents spurious ieee80211_sta_eosp calls.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/xmit.c

index cab24b4..56a0d1b 100644 (file)
@@ -969,7 +969,8 @@ ath_tx_get_tid_subframe(struct ath_softc *sc, struct ath_txq *txq,
                bf->bf_lastbf = bf;
 
                tx_info = IEEE80211_SKB_CB(skb);
-               tx_info->flags &= ~IEEE80211_TX_CTL_CLEAR_PS_FILT;
+               tx_info->flags &= ~(IEEE80211_TX_CTL_CLEAR_PS_FILT |
+                                   IEEE80211_TX_STATUS_EOSP);
 
                /*
                 * No aggregation session is running, but there may be frames