change psk back to key
authorTravis Kemen <thepeople@openwrt.org>
Mon, 18 Feb 2008 23:40:31 +0000 (23:40 +0000)
committerTravis Kemen <thepeople@openwrt.org>
Mon, 18 Feb 2008 23:40:31 +0000 (23:40 +0000)
SVN-Revision: 10488

package/hostapd/files/hostapd.sh

index 570f2ed07a50570de5a0ed011746bcb98798b9f2..2f06cc2d103f4a338ba156f349c39a712d9102cc 100644 (file)
@@ -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*)