summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-31 22:44:32 +0000
committerSteven Barth <steven@midlink.org>2008-08-31 22:44:32 +0000
commit6a1f5d2889374ce4299b8c3d373fd1952a3af237 (patch)
tree6bc20994b88d541ac62b15122f3693ac63abd5da /modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
parent4afe2a3d3e374cce6bb03bdb42b114a5e6d700e8 (diff)
Fix usage of WPA/PSK encryption options in wifi configuration
Diffstat (limited to 'modules/admin-mini/luasrc/model/cbi/mini/wifi.lua')
-rw-r--r--modules/admin-mini/luasrc/model/cbi/mini/wifi.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
index 5f2e014f3c..e413211214 100644
--- a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
+++ b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
@@ -211,24 +211,24 @@ encr:value("wep", "WEP")
encr:value("psk", "WPA-PSK")
encr:value("wpa", "WPA-Radius", {mode="ap"})
encr:value("psk2", "WPA2-PSK")
-encr:value("wpa2", "WPA2-Radius", {mode="ap"})
+encr:value("wpa2i", "WPA2-Radius", {mode="ap"})
key = s:option(Value, "key", translate("key"))
key:depends("encryption", "wep")
key:depends("encryption", "psk")
key:depends("encryption", "wpa")
key:depends("encryption", "psk2")
-key:depends("encryption", "wpa2")
+key:depends("encryption", "wpa2i")
key.rmempty = true
server = s:option(Value, "server", translate("a_w_radiussrv"))
server:depends("encryption", "wpa")
-server:depends("encryption", "wpa2")
+server:depends("encryption", "wpa2i")
server.rmempty = true
port = s:option(Value, "port", translate("a_w_radiusport"))
port:depends("encryption", "wpa")
-port:depends("encryption", "wpa2")
+port:depends("encryption", "wpa2i")
port.rmempty = true
@@ -251,4 +251,4 @@ if hwtype == "broadcom" then
end
-return m \ No newline at end of file
+return m