mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-02 10:47:28 +03: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*)
|
*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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user