summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-mod-network/luasrc/controller/admin/network.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/luci-mod-network/luasrc/controller/admin/network.lua b/modules/luci-mod-network/luasrc/controller/admin/network.lua
index a587b7e51..a200f79b5 100644
--- a/modules/luci-mod-network/luasrc/controller/admin/network.lua
+++ b/modules/luci-mod-network/luasrc/controller/admin/network.lua
@@ -175,7 +175,8 @@ function wifi_add()
local net = dev:add_wifinet({
mode = "ap",
ssid = "OpenWrt",
- encryption = "none"
+ encryption = "none",
+ disabled = 1
})
ntm:save("wireless")