diff options
Diffstat (limited to 'setup-interfaces.in')
-rw-r--r-- | setup-interfaces.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-interfaces.in b/setup-interfaces.in index 54f0f92..b82f02f 100644 --- a/setup-interfaces.in +++ b/setup-interfaces.in @@ -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:" psk=$resp fi - config_wpa_supp $iface $essid $psk + config_wpa_supp $iface "$essid" "$psk" else echo -e "\nNo available wireless networks\n" prompt_for_interfaces |