From: Hamish Guthrie Date: Mon, 13 Feb 2012 16:07:53 +0000 (+0000) Subject: hostapd: correctly pass 64 char hex PSK to wpa_supplicant X-Git-Tag: reboot~14868 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fchunkeey.git;a=commitdiff_plain;h=92d36617b629fe8149b8b927a9cc57c9d7536377 hostapd: correctly pass 64 char hex PSK to wpa_supplicant SVN-Revision: 30504 --- diff --git a/package/hostapd/files/wpa_supplicant.sh b/package/hostapd/files/wpa_supplicant.sh index 9446202be3..8b1de16941 100644 --- a/package/hostapd/files/wpa_supplicant.sh +++ b/package/hostapd/files/wpa_supplicant.sh @@ -59,7 +59,7 @@ wpa_supplicant_setup_vif() { ;; *psk*) key_mgmt='WPA-PSK' - config_get_bool usepassphrase "$vif" passphrase 1 + config_get_bool usepassphrase "$vif" usepassphrase 1 if [ "$usepassphrase" = "1" ]; then passphrase="psk=\"${key}\"" else