mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-19 10:12:10 -05:00
wifi-scripts: ucode: unconditionally call hostapd/supplicant setup
Ensure that interfaces can be deleted properly Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
e116b423b8
commit
79f8a83eb9
@ -290,11 +290,8 @@ function setup() {
|
||||
wdev_data[v.config.ifname] = config;
|
||||
}
|
||||
|
||||
if (length(supplicant_data) > 0)
|
||||
supplicant.setup(supplicant_data, data);
|
||||
|
||||
if (has_ap)
|
||||
hostapd.setup(data);
|
||||
supplicant.setup(supplicant_data, data);
|
||||
hostapd.setup(data);
|
||||
|
||||
system(`ucode /usr/share/hostap/wdev.uc ${data.phy}${data.phy_suffix} set_config '${printf("%J", wdev_data)}' ${join(' ', active_ifnames)}`);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user