mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-07 13:14:00 -05:00
hostapd: correctly pass 64 char hex PSK to wpa_supplicant
SVN-Revision: 30504
This commit is contained in:
parent
e16916480d
commit
92d36617b6
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user