mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
wifi-scripts: ucode: append global options on STA interfaces
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
parent
3ab1a69339
commit
7e854bd943
@ -182,9 +182,11 @@ export function generate(config_list, data, interface) {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface.config.country = data.config.country;
|
interface.config.country = data.config.country_code;
|
||||||
interface.config.beacon_int = data.config.beacon_int;
|
interface.config.beacon_int = data.config.beacon_int;
|
||||||
|
|
||||||
|
append_vars(interface.config, [ 'country', 'beacon_int' ]);
|
||||||
|
|
||||||
setup_sta(data.config, interface.config);
|
setup_sta(data.config, interface.config);
|
||||||
|
|
||||||
let file_name = `/var/run/wpa-supplicant-${interface.config.ifname}.conf`;
|
let file_name = `/var/run/wpa-supplicant-${interface.config.ifname}.conf`;
|
||||||
|
Loading…
Reference in New Issue
Block a user