2
0

311-ath9k-clear-potentially-stale-EOSP-status-bit-in-int.patch 687 B

12345678910111213141516171819202122
  1. From: Felix Fietkau <nbd@nbd.name>
  2. Date: Sun, 28 Aug 2016 13:13:42 +0200
  3. Subject: [PATCH] ath9k: clear potentially stale EOSP status bit in
  4. intermediate queues
  5. Prevents spurious ieee80211_sta_eosp calls.
  6. Signed-off-by: Felix Fietkau <nbd@nbd.name>
  7. ---
  8. --- a/drivers/net/wireless/ath/ath9k/xmit.c
  9. +++ b/drivers/net/wireless/ath/ath9k/xmit.c
  10. @@ -1004,7 +1004,8 @@ ath_tx_get_tid_subframe(struct ath_softc
  11. bf->bf_lastbf = bf;
  12. tx_info = IEEE80211_SKB_CB(skb);
  13. - tx_info->flags &= ~IEEE80211_TX_CTL_CLEAR_PS_FILT;
  14. + tx_info->flags &= ~(IEEE80211_TX_CTL_CLEAR_PS_FILT |
  15. + IEEE80211_TX_STATUS_EOSP);
  16. /*
  17. * No aggregation session is running, but there may be frames