]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Restore the flow of set beacon and WPA key init
authorXin Deng <quic_deng@quicinc.com>
Tue, 11 Apr 2023 10:24:58 +0000 (18:24 +0800)
committerJouni Malinen <j@w1.fi>
Wed, 19 Apr 2023 08:47:52 +0000 (11:47 +0300)
commitf8931fcbafc8889ef96615593d26964cb60910c3
tree6f5802e73f1dce3a13863f887e7e99debf404b7b
parente8912452ed0354191c53c066bf34fed1e6e276e4
hostapd: Restore the flow of set beacon and WPA key init

hostapd start AP flow changed in commit 931e5d4f9e2e. However, that
could cause a regression in a legacy AP driver where the set key
operation for GTK, IGTK, and BIGTK before AP start (set beacon) would
cause the driver to ignore the key set command. Restore the flow of the
set beacon and WPA key init operations to make sure drivers can receive
and set group keys correctly.

Fixes: 931e5d4f9e2e ("mbssid: Configure all BSSes before beacon setup")
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/ap/hostapd.c