diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-30 02:31:43 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-30 02:31:43 +0000 |
commit | 87fd9de5b6e5cc2d319c896f4ab7b3ad0c56ae7e (patch) | |
tree | ec009700681909b54c0b916043b74154b398878d /modules/admin-full/luasrc/controller | |
parent | 3b1f2e90216131575ab65adfc204635106b8c23e (diff) |
modules/admin-full: fix usage of network model in network controller
Diffstat (limited to 'modules/admin-full/luasrc/controller')
-rw-r--r-- | modules/admin-full/luasrc/controller/admin/network.lua | 2 |
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")) |