Fixes for WPA notifications
authorSteven Barth <steven@midlink.org>
Sun, 7 Sep 2008 14:33:42 +0000 (14:33 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 7 Sep 2008 14:33:42 +0000 (14:33 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
modules/admin-mini/luasrc/model/cbi/mini/wifi.lua

index a35e73f..0e5d85d 100644 (file)
@@ -237,6 +237,7 @@ encr:depends({mode="ap"})
 encr:depends({mode="sta"})
 encr:depends({mode="adhoc"})
 encr:depends({mode="ahdemo"})
+encr:depends({mode="wds"})
 
 encr:value("none", "No Encryption")
 encr:value("wep", "WEP")
index 1aa01d1..cbf3d6a 100644 (file)
@@ -216,8 +216,8 @@ if hwtype == "atheros" or hwtype == "mac80211" then
        if hostapd and supplicant then
                encr:value("psk", "WPA-PSK")
                encr:value("psk2", "WPA2-PSK")
-               encr:value("wpa", "WPA-EAP", {mode="ap"})
-               encr:value("wpa2i", "WPA2-EAP", {mode="ap"})
+               encr:value("wpa", "WPA-Radius", {mode="ap"})
+               encr:value("wpa2i", "WPA2-Radius", {mode="ap"})
        elseif hostapd and not supplicant then
                encr:value("psk", "WPA-PSK", {mode="ap"}, {mode="adhoc"})
                encr:value("psk2", "WPA2-PSK", {mode="ap"}, {mode="adhoc"})