Commit 10167e09 authored by Carlo Landmeter's avatar Carlo Landmeter
Browse files

setup-interfaces: allow spaces in ssid and psk

fixes #7260
parent c15da3bf
......@@ -214,11 +214,11 @@ config_iface() {
if find_essids $iface; then
ask "Type the wireless network name to connect to:"
local essid=$resp
if wlan_is_not_open $iface $essid; then
if wlan_is_not_open $iface "$essid"; then
ask "Type the \"$essid\" network Pre-Shared Key:"
config_wpa_supp $iface $essid $psk
config_wpa_supp $iface "$essid" "$psk"
echo -e "\nNo available wireless networks\n"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment