4.9-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Felix Fietkau <n...@nbd.name>

[ Upstream commit 36e14a787dd0b459760de3622e9709edb745a6af ]

Fixes missed indications of end of U-APSD service period to mac80211

Signed-off-by: Felix Fietkau <n...@nbd.name>
Signed-off-by: Kalle Valo <kv...@codeaurora.org>
Signed-off-by: Sasha Levin <alexander.le...@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
 drivers/net/wireless/ath/ath9k/xmit.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -84,7 +84,8 @@ static void ath_tx_status(struct ieee802
        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;
        }


Reply via email to