wifi-scripts: ucode: append global options on STA interfaces

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin 2024-12-11 12:06:55 +01:00
parent 3ab1a69339
commit 7e854bd943

View File

@ -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`;