Skip to content

Commit

Permalink
hostapd: update interface/bss list after set_config calls
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
nbd168 committed Sep 13, 2023
1 parent 2148579 commit 4871ace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/network/services/hostapd/src/src/ap/ucode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 4871ace

Please sign in to comment.