hostapd.sh: Fix typo. The PSK is expected in the "psk" variable, but we put it into the "key" variable.
SVN-Revision: 10478
This commit is contained in:
parent
23405a451a
commit
7a62cb1f15
1 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,7 @@ hostapd_setup_vif() {
|
||||||
# use crypto/auth settings for building the hostapd config
|
# use crypto/auth settings for building the hostapd config
|
||||||
case "$enc" in
|
case "$enc" in
|
||||||
*psk*|*PSK*)
|
*psk*|*PSK*)
|
||||||
config_get psk "$vif" key
|
config_get psk "$vif" psk
|
||||||
append hostapd_cfg "wpa_passphrase=$psk" "$N"
|
append hostapd_cfg "wpa_passphrase=$psk" "$N"
|
||||||
;;
|
;;
|
||||||
*wpa*|*WPA*)
|
*wpa*|*WPA*)
|
||||||
|
|
Loading…
Reference in a new issue