]> git.ipfire.org Git - thirdparty/hostap.git/commit
MLD: Use MLD MAC address for deauthentication
authorBenjamin Berg <benjamin.berg@intel.com>
Mon, 20 Nov 2023 23:51:40 +0000 (01:51 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 25 Nov 2023 19:49:06 +0000 (21:49 +0200)
commitb9c81e2005c5f0a690d9b97ca9dd655b41fca124
tree465b68c0634235d93fbfbb669275be1695ff9911
parentf60287e6c91bbb5f20758a6f5000ec9fd714fae2
MLD: Use MLD MAC address for deauthentication

When connecting, pending_bssid is set to the main link that we are
authenticating/associating on. Later on, the MLD MAC address will be
stored in the bssid, but we may also try to deauthenticate before we are
connected and in that case, pending_bssid is not yet set to the MLD MAC
address.

As such, use the ap_mld_addr instead of pending_bssid if n_mld_links is
non-zero. This is the sensible thing to do and expected behavior on
nl80211.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
wpa_supplicant/sme.c