diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-07-30 20:31:23 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-07-31 09:52:08 +0200 |
commit | 36e14a787dd0b459760de3622e9709edb745a6af (patch) | |
tree | 9431ce7351ad4b94a5cdae77c6dd51d71cde7103 /drivers/net/wireless/ath | |
parent | ath9k: clear potentially stale EOSP status bit in intermediate queues (diff) | |
download | linux-36e14a787dd0b459760de3622e9709edb745a6af.tar.xz linux-36e14a787dd0b459760de3622e9709edb745a6af.zip |
ath9k: report tx status on EOSP
Fixes missed indications of end of U-APSD service period to mac80211
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/xmit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c index 56a0d1b7527a..d366170f01cf 100644 --- a/drivers/net/wireless/ath/ath9k/xmit.c +++ b/drivers/net/wireless/ath/ath9k/xmit.c @@ -86,7 +86,8 @@ static void ath_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb) struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb); struct ieee80211_sta *sta = info->status.status_driver_data[0]; - if (info->flags & IEEE80211_TX_CTL_REQ_TX_STATUS) { + if (info->flags & (IEEE80211_TX_CTL_REQ_TX_STATUS | + IEEE80211_TX_STATUS_EOSP)) { ieee80211_tx_status(hw, skb); return; } |