summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-16 10:08:28 +0000
committerSteven Barth <steven@midlink.org>2008-09-16 10:08:28 +0000
commit51c5827d75f91b74ef1a6e55f922c9b5604e61d7 (patch)
tree83af54764b7a7fd14872e51ab409f5f590f4e4a0
parent0a0220ca29249d1a9a56262eff004e9cb7f05f33 (diff)
admin-full: Override UVL values for mode field
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
index 0f99c6ec0..cbc30d5c3 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
@@ -134,6 +134,7 @@ end
mode = s:option(ListValue, "mode", translate("mode"))
+mode.override_values = true
mode:value("ap", translate("a_w_ap"))
mode:value("adhoc", translate("a_w_adhoc"))
mode:value("sta", translate("a_w_client"))