aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2012-02-13 16:07:53 +0000
committerHamish Guthrie <hcg@openwrt.org>2012-02-13 16:07:53 +0000
commita4e1bbd82e1c15d9e7cdfcc12a2bc432a8f645de (patch)
tree8897f266b43cbe1536a02654f4eecee41f4002b3 /package
parent83a09957f7247c871cd3f8bf3441759af75d550b (diff)
downloadmaster-187ad058-a4e1bbd82e1c15d9e7cdfcc12a2bc432a8f645de.tar.gz
master-187ad058-a4e1bbd82e1c15d9e7cdfcc12a2bc432a8f645de.tar.bz2
master-187ad058-a4e1bbd82e1c15d9e7cdfcc12a2bc432a8f645de.zip
[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
Diffstat (limited to 'package')
-rw-r--r--package/hostapd/files/wpa_supplicant.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/hostapd/files/wpa_supplicant.sh b/package/hostapd/files/wpa_supplicant.sh
index 9446202be3..8b1de16941 100644
--- a/package/hostapd/files/wpa_supplicant.sh
+++ b/package/hostapd/files/wpa_supplicant.sh
@@ -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