summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-13 12:20:39 +0000
committerSteven Barth <steven@midlink.org>2008-09-13 12:20:39 +0000
commitf9303705a0210a5c8dd7b44697c3ff31e1473b1a (patch)
tree6b3ea8bbbd3e80af625905c307233eb803e5acea /modules/admin-mini
parentb69589fba337ac9c362e02d58c354b2e218900c7 (diff)
Overall CBI-UVL ineraction fixes
Diffstat (limited to 'modules/admin-mini')
-rw-r--r--modules/admin-mini/luasrc/model/cbi/mini/wifi.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
index cbf3d6a25..13ae997fb 100644
--- a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
+++ b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
@@ -141,6 +141,7 @@ local hwtype = m:get(wifidevs[1], "type")
if hwtype == "atheros" then
mode = s:option(ListValue, "mode", translate("mode"))
+ mode.override_values = true
mode:value("", "auto")
mode:value("11b", "802.11b")
mode:value("11g", "802.11g")
@@ -206,6 +207,7 @@ function mode.write(self, section, value)
end
encr = s:option(ListValue, "encryption", translate("encryption"))
+encr.override_values = true
encr:value("none", "No Encryption")
encr:value("wep", "WEP")