The SSID will be UTF-8 encoded when set through LuCI. If otherwise set to a non UTF-8 encoded value, use utf8_ssid=0 to tell hostapd so.
Signed-off-by: Jouke Witteveen <j.wittev...@gmail.com> --- package/network/services/hostapd/files/hostapd.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 7ffff4e7e1..b5472ace1b 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -227,7 +227,7 @@ hostapd_set_bss_options() { maxassoc max_inactivity disassoc_low_ack isolate auth_cache \ wps_pushbutton wps_label ext_registrar wps_pbc_in_m1 wps_ap_setup_locked \ wps_independent wps_device_type wps_device_name wps_manufacturer wps_pin \ - macfilter ssid wmm uapsd hidden short_preamble rsn_preauth \ + macfilter ssid utf8_ssid wmm uapsd hidden short_preamble rsn_preauth \ iapp_interface eapol_version dynamic_vlan ieee80211w nasid \ acct_server acct_secret acct_port acct_interval \ bss_load_update_period chan_util_avg_period @@ -237,6 +237,7 @@ hostapd_set_bss_options() { set_default max_inactivity 0 set_default short_preamble 1 set_default disassoc_low_ack 1 + set_default utf8_ssid 1 set_default hidden 0 set_default wmm 1 set_default uapsd 1 @@ -395,6 +396,7 @@ hostapd_set_bss_options() { } append bss_conf "ssid=$ssid" "$N" + append bss_conf "utf8_ssid=$utf8_ssid" "$N" [ -n "$network_bridge" ] && append bss_conf "bridge=$network_bridge" "$N" [ -n "$iapp_interface" ] && { local ifname -- 2.18.0 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel