[openwrt/openwrt] wifi-scripts: ucode: append global options on STA interfaces
LEDE Commits
lede-commits at lists.infradead.org
Wed Dec 11 06:43:44 PST 2024
blogic pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/7e854bd9430c3f33dbbceb26390bdf476b27dd2d
commit 7e854bd9430c3f33dbbceb26390bdf476b27dd2d
Author: John Crispin <john at phrozen.org>
AuthorDate: Wed Dec 11 12:06:55 2024 +0100
wifi-scripts: ucode: append global options on STA interfaces
Signed-off-by: John Crispin <john at phrozen.org>
---
.../wifi-scripts/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`;
More information about the lede-commits
mailing list