From 7e854bd9430c3f33dbbceb26390bdf476b27dd2d Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 11 Dec 2024 12:06:55 +0100 Subject: [PATCH] wifi-scripts: ucode: append global options on STA interfaces Signed-off-by: John Crispin --- .../files-ucode/usr/share/ucode/wifi/supplicant.uc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/supplicant.uc b/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/supplicant.uc index 04d7f216aa..0519e58177 100644 --- a/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/supplicant.uc +++ b/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/supplicant.uc @@ -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`; -- 2.30.2