]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.9.128/ath9k-report-tx-status-on-eosp.patch
drop drm patch
[thirdparty/kernel/stable-queue.git] / releases / 4.9.128 / ath9k-report-tx-status-on-eosp.patch
1 From foo@baz Mon Sep 17 12:22:41 CEST 2018
2 From: Felix Fietkau <nbd@nbd.name>
3 Date: Mon, 30 Jul 2018 21:31:23 +0300
4 Subject: ath9k: report tx status on EOSP
5
6 From: Felix Fietkau <nbd@nbd.name>
7
8 [ Upstream commit 36e14a787dd0b459760de3622e9709edb745a6af ]
9
10 Fixes missed indications of end of U-APSD service period to mac80211
11
12 Signed-off-by: Felix Fietkau <nbd@nbd.name>
13 Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
14 Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
15 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
16 ---
17 drivers/net/wireless/ath/ath9k/xmit.c | 3 ++-
18 1 file changed, 2 insertions(+), 1 deletion(-)
19
20 --- a/drivers/net/wireless/ath/ath9k/xmit.c
21 +++ b/drivers/net/wireless/ath/ath9k/xmit.c
22 @@ -84,7 +84,8 @@ static void ath_tx_status(struct ieee802
23 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
24 struct ieee80211_sta *sta = info->status.status_driver_data[0];
25
26 - if (info->flags & IEEE80211_TX_CTL_REQ_TX_STATUS) {
27 + if (info->flags & (IEEE80211_TX_CTL_REQ_TX_STATUS |
28 + IEEE80211_TX_STATUS_EOSP)) {
29 ieee80211_tx_status(hw, skb);
30 return;
31 }