diff options
author | Steven Barth <steven@midlink.org> | 2008-08-28 09:11:23 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-28 09:11:23 +0000 |
commit | 63d1d17111265810f46e4bdd505f11a2684cf9dd (patch) | |
tree | 0bed7ddf4899c1224ed6004d513fd2341db12051 /modules/admin-mini/luasrc/model/cbi | |
parent | 12912ba7a458d1e513b922121f97a915664bec3c (diff) |
mini/wifi: Make WPA(2)-Radius only avaiable in Master-Mode, Remove double XML-escape for ESSID
Diffstat (limited to 'modules/admin-mini/luasrc/model/cbi')
-rw-r--r-- | modules/admin-mini/luasrc/model/cbi/mini/wifi.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua index 64e7400ca..7aff62323 100644 --- a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua +++ b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua @@ -93,7 +93,7 @@ t2.render = function() end t2:option(DummyValue, "Quality", translate("iwscan_link")) essid = t2:option(DummyValue, "ESSID", "ESSID") function essid.cfgvalue(self, section) - return luci.util.pcdata(self.map:get(section, "ESSID")) + return self.map:get(section, "ESSID") end t2:option(DummyValue, "Address", "BSSID") @@ -190,9 +190,9 @@ encr = s:option(ListValue, "encryption", translate("encryption")) encr:value("none", "keine") encr:value("wep", "WEP") encr:value("psk", "WPA-PSK") -encr:value("wpa", "WPA-Radius") +encr:value("wpa", "WPA-Radius", {mode="ap"}) encr:value("psk2", "WPA2-PSK") -encr:value("wpa2", "WPA2-Radius") +encr:value("wpa2", "WPA2-Radius", {mode="ap"}) key = s:option(Value, "key", translate("key")) key:depends("encryption", "wep") |