From 4873f3299807fb0fde7c7f71736dd9318c708ca1 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 22 Mar 2019 12:08:08 +0100 Subject: [PATCH] hostapd: Always qoute SSID hostapd has a new parameter that always allows us to set the SSID as a quoted UTF8 string Signed-off-by: Michael Tremer --- src/functions/functions.hostapd | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/functions/functions.hostapd b/src/functions/functions.hostapd index 8b281cc2..245b4cf8 100644 --- a/src/functions/functions.hostapd +++ b/src/functions/functions.hostapd @@ -259,11 +259,8 @@ hostapd_config_write() { print "channel=${channel}" print "ignore_broadcast_ssid=${ignore_broadcast_ssid}" - if contains_spaces "${ssid}"; then - print "ssid=\"${ssid}\"" - else - print "ssid=${ssid}" - fi + print "ssid2=\"${ssid}\"" + print "utf8_ssid=1" # Kick stations that are too far away print "disassoc_low_ack=1" -- 2.39.2