]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP MLD: De-initialize/disable link BSS properly
authorAditya Kumar Singh <quic_adisi@quicinc.com>
Wed, 6 Mar 2024 06:40:16 +0000 (12:10 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 27 Mar 2024 16:12:39 +0000 (18:12 +0200)
commitdf34c2ced34fb442c5eae30f326f118049422966
treed3fc03fa9d98491a0fda10d0a21169f742ab36aa
parent63982fd094c953cb610e24f0fe64ca343c85dd54
AP MLD: De-initialize/disable link BSS properly

When the first link BSS of an interface was de-initialized/disabled, the
whole MLD was brought down. All other links were stopped beaconing and
links were removed. And if the non-first link BSS was
de-initialized/disabled, nothing happened. Even beaconing was not
stopped which is wrong.

Fix this by properly bringing down the intended link alone from the
interface.

Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
hostapd/main.c
src/ap/hostapd.c
src/drivers/driver.h
src/drivers/driver_nl80211.c