luci-mod-network: disable setup on new wifi-iface add

If we add a new wifi-iface to the config then the iface will start at once.
But normaly we would configure the wireless security in the next step.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert 2018-07-16 14:39:55 +02:00
parent 89a4fdd1a8
commit 99ebb788cf

View file

@ -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")