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
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue