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 04d7f216aa6..0519e581777 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`;