summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-mini/luasrc/model/cbi/mini/wifi.lua')
-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 31242b74b..7327b9e1d 100644
--- a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
+++ b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
@@ -127,6 +127,7 @@ end
-- Config Section --
s = m:section(NamedSection, wifidevs[1], "wifi-device", translate("devices"))
+s.addremove = false
en = s:option(Flag, "disabled", translate("enable"))
en.enabled = "0"