hostapd: correctly pass 64 char hex PSK to wpa_supplicant

SVN-Revision: 30504
owl
Hamish Guthrie 2012-02-13 16:07:53 +00:00
parent e16916480d
commit 92d36617b6
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ wpa_supplicant_setup_vif() {
;; ;;
*psk*) *psk*)
key_mgmt='WPA-PSK' key_mgmt='WPA-PSK'
config_get_bool usepassphrase "$vif" passphrase 1 config_get_bool usepassphrase "$vif" usepassphrase 1
if [ "$usepassphrase" = "1" ]; then if [ "$usepassphrase" = "1" ]; then
passphrase="psk=\"${key}\"" passphrase="psk=\"${key}\""
else else