summaryrefslogtreecommitdiff
path: root/package/hostapd
diff options
context:
space:
mode:
authorhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-13 16:07:53 +0000
committerhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-13 16:07:53 +0000
commitc972a4ddbea6c817cde06f99a3a1ce615800216a (patch)
tree8897f266b43cbe1536a02654f4eecee41f4002b3 /package/hostapd
parent8ac28fce23e53b73c507b9c6d6c0312579f6e7a7 (diff)
[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/hostapd')
-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