]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ath9k: report tx status on EOSP
authorFelix Fietkau <nbd@nbd.name>
Mon, 30 Jul 2018 18:31:23 +0000 (21:31 +0300)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:47:40 +0000 (19:47 -0600)
BugLink: https://bugs.launchpad.net/bugs/1836117
[ Upstream commit 36e14a787dd0b459760de3622e9709edb745a6af ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/net/wireless/ath/ath9k/xmit.c

index d8b041f48ca8e17ccb59fe4b099c9814d8e76a7c..fa64c1cc94aedb9ca80d1fbf1e9f78230e530ed7 100644 (file)
@@ -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;
        }