Merge pull request #2177 from TDT-AG/pr/20180924-luci-mod-network
luci-mod-network: disable wifi config on new wifi-iface add
This commit is contained in:
commit
136fba752c
1 changed files with 2 additions and 1 deletions
|
@ -175,7 +175,8 @@ function wifi_add()
|
||||||
local net = dev:add_wifinet({
|
local net = dev:add_wifinet({
|
||||||
mode = "ap",
|
mode = "ap",
|
||||||
ssid = "OpenWrt",
|
ssid = "OpenWrt",
|
||||||
encryption = "none"
|
encryption = "none",
|
||||||
|
disabled = 1
|
||||||
})
|
})
|
||||||
|
|
||||||
ntm:save("wireless")
|
ntm:save("wireless")
|
||||||
|
|
Loading…
Reference in a new issue