]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Remove links when stopping AP MLD in hostapd
authorChenming Huang <quic_chenhuan@quicinc.com>
Wed, 6 Sep 2023 06:24:58 +0000 (11:54 +0530)
committerJouni Malinen <j@w1.fi>
Sun, 26 Nov 2023 15:05:59 +0000 (17:05 +0200)
commit859cbc396fc0a814ab12796a208d43983136ac4f
tree09dbaf3fbb3aca79f761da12a5de842019186780
parent50526415cb8eefa420cb875ab1f38a85929564da
nl80211: Remove links when stopping AP MLD in hostapd

There is an issue when starting a non-MLD AP on the same interface that
previous operated as an AP MLD. When the previous AP MLD got stopped,
links were not removed when using hostapd. Next non-MLD AP will fail to
start because some nl80211 operations still require link id (e.g., set
freq).

Remove links when AP MLD is stop to avoid such issue. This was already
done in the deinit_ap() handler when using wpa_supplicant, but hostapd
needs to do same.

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