mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-18 16:40:29 +00:00
hostapd: fix call to hostapd reload
Some checks failed
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Some checks failed
Build all core packages / Build all core packages for selected target (push) Has been cancelled
access to undeclared variable radio In [anonymous function](), file /usr/share/hostap/hostapd.uc, line 830, byte 45: Signed-off-by: Florian Maurer <f.maurer@outlook.de>
This commit is contained in:
parent
2e03c7d53e
commit
31e45f62ca
@ -899,7 +899,7 @@ let main_obj = {
|
||||
let phy_list = req.args.phy ? [ phy_name(req.args.phy, req.args.radio) ] : keys(hostapd.data.config);
|
||||
for (let phy_name in phy_list) {
|
||||
let phy = hostapd.data.config[phy_name];
|
||||
let config = iface_load_config(phy.phy, radio, phy.orig_file);
|
||||
let config = iface_load_config(phy.phy, phy.radio_idx, phy.orig_file);
|
||||
iface_set_config(phy_name, config);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user