summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-01-05 21:13:56 +0000
committerSteven Barth <steven@midlink.org>2009-01-05 21:13:56 +0000
commit55ed5c897855d6597bbbd8e8ff4a3a4de285b73f (patch)
tree41890e015ebacaa32debed97092ce79cf341d186 /modules/admin-mini
parentcc4e2d4943018e0b01c403672c919072659a83a4 (diff)
Fix disabling of WiFi
closes #22
Diffstat (limited to 'modules/admin-mini')
-rw-r--r--modules/admin-mini/luasrc/model/cbi/mini/wifi.lua1
1 files changed, 1 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 8b623090b7..f3eed8e2cb 100644
--- a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
+++ b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
@@ -131,6 +131,7 @@ s = m:section(NamedSection, wifidevs[1], "wifi-device", translate("devices"))
s.addremove = false
en = s:option(Flag, "disabled", translate("enable"))
+en.rmempty = false
en.enabled = "0"
en.disabled = "1"