aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/files
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
commit92d36617b629fe8149b8b927a9cc57c9d7536377 (patch)
treeb6a9eb939a341d086ad677c6e1eb2358dac83e72 /package/hostapd/files
parente16916480d75d32b1de29fa872f1a90e4a8798f5 (diff)
downloadupstream-92d36617b629fe8149b8b927a9cc57c9d7536377.tar.gz
upstream-92d36617b629fe8149b8b927a9cc57c9d7536377.tar.bz2
upstream-92d36617b629fe8149b8b927a9cc57c9d7536377.zip
hostapd: correctly pass 64 char hex PSK to wpa_supplicant
SVN-Revision: 30504
Diffstat (limited to 'package/hostapd/files')
-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