Skip to content

Commit

Permalink
hostapd: fix call to hostapd reload
Browse files Browse the repository at this point in the history
access to undeclared variable radio In [anonymous function](), file /usr/share/hostap/hostapd.uc, line 830, byte 45:

Signed-off-by: Florian Maurer <[email protected]>
  • Loading branch information
maurerle authored and nbd168 committed Dec 19, 2024
1 parent 2e03c7d commit 31e45f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/network/services/hostapd/files/hostapd.uc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 31e45f6

Please sign in to comment.