[package] hostapd: correctly pass 64 char hex PSK to wpa_supplicant
authorhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 13 Feb 2012 16:07:53 +0000 (16:07 +0000)
committerhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 13 Feb 2012 16:07:53 +0000 (16:07 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30504 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/hostapd/files/wpa_supplicant.sh

index 9446202..8b1de16 100644 (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
This page took 0.024806 seconds and 4 git commands to generate.