From 87fd9de5b6e5cc2d319c896f4ab7b3ad0c56ae7e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 30 Oct 2010 02:31:43 +0000 Subject: [PATCH] modules/admin-full: fix usage of network model in network controller --- modules/admin-full/luasrc/controller/admin/network.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")) -- 2.25.1