diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh index 570f2ed07a50570de5a0ed011746bcb98798b9f2..2f06cc2d103f4a338ba156f349c39a712d9102cc 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*)