hostapd: correctly pass 64 char hex PSK to wpa_supplicant

SVN-Revision: 30504
This commit is contained in:
Hamish Guthrie 2012-02-13 16:07:53 +00:00
parent e16916480d
commit 92d36617b6

View file

@ -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