mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +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;
|
||||
}
|
||||
|
||||
interface.config.country = data.config.country;
|
||||
interface.config.country = data.config.country_code;
|
||||
interface.config.beacon_int = data.config.beacon_int;
|
||||
|
||||
append_vars(interface.config, [ 'country', 'beacon_int' ]);
|
||||
|
||||
setup_sta(data.config, interface.config);
|
||||
|
||||
let file_name = `/var/run/wpa-supplicant-${interface.config.ifname}.conf`;
|
||||
|
Loading…
Reference in New Issue
Block a user