mini/wifi: Make WPA(2)-Radius only avaiable in Master-Mode, Remove double XML-escape for ESSID
This commit is contained in:
parent
12912ba7a4
commit
63d1d17111
1 changed files with 3 additions and 3 deletions
|
@ -93,7 +93,7 @@ t2.render = function() end
|
||||||
t2:option(DummyValue, "Quality", translate("iwscan_link"))
|
t2:option(DummyValue, "Quality", translate("iwscan_link"))
|
||||||
essid = t2:option(DummyValue, "ESSID", "ESSID")
|
essid = t2:option(DummyValue, "ESSID", "ESSID")
|
||||||
function essid.cfgvalue(self, section)
|
function essid.cfgvalue(self, section)
|
||||||
return luci.util.pcdata(self.map:get(section, "ESSID"))
|
return self.map:get(section, "ESSID")
|
||||||
end
|
end
|
||||||
|
|
||||||
t2:option(DummyValue, "Address", "BSSID")
|
t2:option(DummyValue, "Address", "BSSID")
|
||||||
|
@ -190,9 +190,9 @@ encr = s:option(ListValue, "encryption", translate("encryption"))
|
||||||
encr:value("none", "keine")
|
encr:value("none", "keine")
|
||||||
encr:value("wep", "WEP")
|
encr:value("wep", "WEP")
|
||||||
encr:value("psk", "WPA-PSK")
|
encr:value("psk", "WPA-PSK")
|
||||||
encr:value("wpa", "WPA-Radius")
|
encr:value("wpa", "WPA-Radius", {mode="ap"})
|
||||||
encr:value("psk2", "WPA2-PSK")
|
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 = s:option(Value, "key", translate("key"))
|
||||||
key:depends("encryption", "wep")
|
key:depends("encryption", "wep")
|
||||||
|
|
Loading…
Reference in a new issue