summaryrefslogtreecommitdiffstats
path: root/package/hostapd/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/hostapd/files')
-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 570f2ed07..2f06cc2d1 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*)