mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
hostapd.sh: Fix typo. The PSK is expected in the "psk" variable, but we put it into the "key" variable.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10478 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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*)
|
||||||
|
|||||||
Reference in New Issue
Block a user