summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/luasrc/controller
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-11-23 15:41:56 +0100
committerJo-Philipp Wich <jo@mein.io>2018-11-23 15:44:18 +0100
commitf73dc51ea121e281b4949ad5c730a78a9d5a8aff (patch)
tree99a010a4c8deb68cd7eb6f89b7cad79563217cd0 /modules/luci-mod-network/luasrc/controller
parent1eea921df05da082be17fbe6b3636755c7dc6bc5 (diff)
luci-mod-network: move wifi scan JS into external file
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/luasrc/controller')
-rw-r--r--modules/luci-mod-network/luasrc/controller/admin/network.lua2
1 files changed, 1 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 a200f79b51..1da5eac464 100644
--- a/modules/luci-mod-network/luasrc/controller/admin/network.lua
+++ b/modules/luci-mod-network/luasrc/controller/admin/network.lua
@@ -321,7 +321,7 @@ function wifi_scan_trigger(radio, update)
return
end
- luci.http.status(200, "Scan scheduled")
+ luci.http.status(204, "Scan scheduled")
if nixio.fork() == 0 then
io.stderr:close()