summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller/admin
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-full/luasrc/controller/admin')
-rw-r--r--modules/admin-full/luasrc/controller/admin/network.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua
index 896b4be06..950285d58 100644
--- a/modules/admin-full/luasrc/controller/admin/network.lua
+++ b/modules/admin-full/luasrc/controller/admin/network.lua
@@ -156,7 +156,7 @@ end
function wifi_delete(network)
local ntm = require "luci.model.network".init()
- ntm:del_network(network)
+ ntm:del_wifinet(network)
ntm:save("wireless")
luci.http.redirect(luci.dispatcher.build_url("admin/network/wireless"))