Skip to content

Commit a2c934f

Browse files
nbd168gregkh
authored andcommitted
mac80211: ignore tx status for PS stations in ieee80211_tx_status_ext
commit a317e65 upstream. Make it behave like regular ieee80211_tx_status calls, except for the lack of filtered frame processing. This fixes spurious low-ack triggered disconnections with powersave clients connected to an AP. Fixes: f027c2a ("mac80211: add ieee80211_tx_status_noskb") Cc: [email protected] Signed-off-by: Felix Fietkau <[email protected]> Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 9e82abd commit a2c934f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

net/mac80211/status.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,8 @@ void ieee80211_tx_status_ext(struct ieee80211_hw *hw,
953953
/* Track when last TDLS packet was ACKed */
954954
if (test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH))
955955
sta->status_stats.last_tdls_pkt_time = jiffies;
956+
} else if (test_sta_flag(sta, WLAN_STA_PS_STA)) {
957+
return;
956958
} else {
957959
ieee80211_lost_packet(sta, info);
958960
}

0 commit comments

Comments
 (0)