mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 03:37:17 +01:00
wifi-scripts: ucode: unconditionally call hostapd/supplicant setup
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
Ensure that interfaces can be deleted properly Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
e116b423b8
commit
79f8a83eb9
1 changed files with 2 additions and 5 deletions
|
|
@ -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…
Add table
Reference in a new issue