summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2023-09-13 10:47:34 +0200
committerFelix Fietkau <nbd@nbd.name>2023-09-13 10:47:35 +0200
commit4871acef797b279c695217aa31cb656bee235d29 (patch)
tree8c4ea1abaec65e9b920a08693db7ba9d5e3d7077 /package
parent21485791161a5b158b114659672b513059e7a035 (diff)
downloadopenwrt-4871acef797b279c695217aa31cb656bee235d29.tar.gz
openwrt-4871acef797b279c695217aa31cb656bee235d29.tar.bz2
openwrt-4871acef797b279c695217aa31cb656bee235d29.zip
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>
Diffstat (limited to 'package')
-rw-r--r--package/network/services/hostapd/src/src/ap/ucode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/services/hostapd/src/src/ap/ucode.c b/package/network/services/hostapd/src/src/ap/ucode.c
index 0326f6fc82..42c2548208 100644
--- a/package/network/services/hostapd/src/src/ap/ucode.c
+++ b/package/network/services/hostapd/src/src/ap/ucode.c
@@ -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;