[PATCH v2] wifi: cfg80211: Clear mlo_links info when STA disconnect
Xin Deng
quic_deng at quicinc.com
Tue Apr 9 20:10:48 PDT 2024
wdev->valid_links is not cleared when upper layer disconnect from a
wdev->AP MLD. It has been observed that this would prevent offchannel
operations like remain-on-channel which would be needed for user space
operations with Public Action frame.
Clear the wdev->valid_links when STA disconnect.
Signed-off-by: Xin Deng <quic_deng at quicinc.com>
---
net/wireless/sme.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/wireless/sme.c b/net/wireless/sme.c
index 82e3ce42206c..6a08f9d35eb2 100644
--- a/net/wireless/sme.c
+++ b/net/wireless/sme.c
@@ -477,6 +477,7 @@ static void cfg80211_wdev_release_bsses(struct wireless_dev *wdev)
&wdev->links[link].client.current_bss->pub);
wdev->links[link].client.current_bss = NULL;
}
+ wdev->valid_links = 0;
}
void cfg80211_wdev_release_link_bsses(struct wireless_dev *wdev, u16 link_mask)
base-commit: 8027a466a77a288eccd2d11868f504e24231f3b7
--
2.17.1
More information about the ath12k
mailing list