mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2026-01-08 20:24:51 +00:00
hostapd: update interface/bss list after set_config calls
set_config causes the ucode bss resource to be re-created and because of that the bss list needs to be updated as well Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
2148579116
commit
4871acef79
@ -146,6 +146,7 @@ uc_hostapd_bss_set_config(uc_vm_t *vm, size_t nargs)
|
||||
hostapd_config_free(conf);
|
||||
|
||||
hostapd_setup_bss(hapd, hapd == iface->bss[0], !iface->conf->mbssid);
|
||||
hostapd_ucode_update_interfaces();
|
||||
|
||||
ret = 0;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user