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:
Jo-Philipp Wich 2018-09-25 07:32:50 +02:00 committed by GitHub
commit 136fba752c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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