mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:46:16 +02:00
[package] hostapd: correctly pass 64 char hex PSK to wpa_supplicant
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30504 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8ac28fce23
commit
c972a4ddbe
@ -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