summaryrefslogtreecommitdiff
path: root/package/hostapd/files/hostapd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/hostapd/files/hostapd.sh')
-rw-r--r--package/hostapd/files/hostapd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh
index 570f2ed..2f06cc2 100644
--- a/package/hostapd/files/hostapd.sh
+++ b/package/hostapd/files/hostapd.sh
@@ -38,7 +38,7 @@ hostapd_setup_vif() {
# use crypto/auth settings for building the hostapd config
case "$enc" in
*psk*|*PSK*)
- config_get psk "$vif" psk
+ config_get psk "$vif" key
append hostapd_cfg "wpa_passphrase=$psk" "$N"
;;
*wpa*|*WPA*)