mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-13 04:38:14 +04:00
ieee80211_stop_ap() stops one link, but ieee80211_stop_mbssid() walks every active link of the interface. The STOP_AP of one link of an AP MLD thus took apart the MBSSID set of each other link and stopped the interfaces of those sets, on radios that keep running. Add a patch that takes apart only the MBSSID set of the link that stops. The stop of the whole interface still walks all its links. With it, hostapd can remove an affiliated AP of an AP MLD whose other links carry an MBSSID set. A link that is itself in an MBSSID set still takes that set apart, and cfg80211_stop_iface() stops each member interface with all its links. Signed-off-by: Felix Fietkau <nbd@nbd.name>