projects
/
openwrt
/
staging
/
blocktrron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2148579
)
hostapd: update interface/bss list after set_config calls
author
Felix Fietkau
<nbd@nbd.name>
Wed, 13 Sep 2023 08:47:34 +0000
(10:47 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Wed, 13 Sep 2023 08:47:35 +0000
(10:47 +0200)
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>
package/network/services/hostapd/src/src/ap/ucode.c
patch
|
blob
|
history
diff --git
a/package/network/services/hostapd/src/src/ap/ucode.c
b/package/network/services/hostapd/src/src/ap/ucode.c
index 0326f6fc82dc9f8aa2f74ae695f7c4605247e87d..42c2548208df102415fa78f53da8647e16fb463a 100644
(file)
--- 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;