From f0bab9063e0be3aa356092617878350ff530bffc Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Fri, 22 Feb 2013 22:39:51 +0100 Subject: [PATCH] ifup-wireless: the PSK parameter need to be quoted Signed-off-by: Davide Madrisan --- etc/sysconfig/network-scripts/ifup-wireless | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/etc/sysconfig/network-scripts/ifup-wireless b/etc/sysconfig/network-scripts/ifup-wireless index 7538969..0726524 100644 --- a/etc/sysconfig/network-scripts/ifup-wireless +++ b/etc/sysconfig/network-scripts/ifup-wireless @@ -150,13 +150,13 @@ if [ "$WIRELESS_ESSID" -o "$WIRELESS_ENC" ]; then cat >> $tmpfile1 << _EOF ctrl_interface=/var/run/wpa_supplicant network={ -scan_ssid=0 -ssid="$WIRELESS_ESSID" -proto=WPA -key_mgmt=WPA-$WIRELESS_AUTO_Authentication_Suites -pairwise=$WIRELESS_AUTO_Pairwise_Ciphers -group=$WIRELESS_AUTO_Group_Cipher -psk=$WPA_PSK + scan_ssid=0 + ssid="$WIRELESS_ESSID" + proto=WPA + key_mgmt=WPA-$WIRELESS_AUTO_Authentication_Suites + pairwise=$WIRELESS_AUTO_Pairwise_Ciphers + group=$WIRELESS_AUTO_Group_Cipher + psk="$WPA_PSK" } _EOF wpa_supplicant -Dwext -i${DEVICE} -c $tmpfile1 -B