From 42dc7bcb349d49b0a676b115571b4b9850a70c90 Mon Sep 17 00:00:00 2001 From: zxystd <1051244836@qq.com> Date: Sun, 10 Mar 2024 00:02:19 +0800 Subject: [PATCH] rs: Ensure ack flag is properly cleared. Some frames were flagged as ACKed when they should not be. --- itlwm/hal_iwm/mac80211.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/itlwm/hal_iwm/mac80211.cpp b/itlwm/hal_iwm/mac80211.cpp index 994e7e6a..f9311f44 100644 --- a/itlwm/hal_iwm/mac80211.cpp +++ b/itlwm/hal_iwm/mac80211.cpp @@ -1312,6 +1312,7 @@ iwm_rx_tx_cmd_single(struct iwm_softc *sc, struct iwm_tx_resp *tx_resp, skb_freed++; memset(&info->status, 0, sizeof(info->status)); + info->flags &= ~(IEEE80211_TX_STAT_ACK | IEEE80211_TX_STAT_TX_FILTERED); /* inform mac80211 about what happened with the frame */ switch (status & IWM_TX_STATUS_MSK) {