Files
openwrt/package
Felix Fietkau 0108a88ab5 hostapd: set the interfaces and bss objects at the ucode init
hostapd.interfaces and hostapd.bss were null until the first call that
adds, removes or renames an interface. The first config of a phy calls
iface_reload_links(), which reads hostapd.interfaces[name] outside a
try block, so the config failed with "left-hand side expression is
null" and the phy did not come up.

Fill both objects before hostapd.uc runs, as wpa_supplicant does for
wpas.interfaces.

Fixes: 21b47bd63f ("hostapd: announce the removal of an MLD link before a radio restart")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2026-10-29 20:40:11 +01:00
..
2026-10-29 11:26:24 +00:00