]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP: Clean up MLD changes that modified skipping DMG deauthentication
authorJouni Malinen <quic_jouni@quicinc.com>
Wed, 9 Oct 2024 16:46:23 +0000 (19:46 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 9 Oct 2024 16:46:23 +0000 (19:46 +0300)
commitdc9616f581355a4bfd32a417bacbcd5bbb71ef4c
tree1b5a3be65cd066c97110ed0c579663f896c72dd5
parent6aef223ce4f2a20c5c35f1ed086649c06ee839b1
AP: Clean up MLD changes that modified skipping DMG deauthentication

Commit 05e5e615e6a2 ("AP: Skip authentication/deauthentication phase for
DMG/IEEE 802.11ad") added the check for DMG in the beginnign of
ap_sta_deauthenticate() to convert that call to ap_sta_disassociate()
since deauthentication is not used in DMG. Commit c6f519ff15b2 ("AP:
Support deauthenticate/disassociate with MLD") ended up moving this DMG
check into the ap_sta_handle_deauthenticate() function that gets called
once for each link. This is confusing even though DMG is not really used
in MLD.

Move the DMG check back to the beginning of ap_sta_deauthenticate() to
make this clearer.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/ap/sta_info.c