change psk back to key
authorthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 18 Feb 2008 23:40:31 +0000 (23:40 +0000)
committerthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 18 Feb 2008 23:40:31 +0000 (23:40 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10488 3c298f89-4303-0410-b956-a3cf2f4a3e73

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*)