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:
parent
89a4fdd1a8
commit
99ebb788cf
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue