projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
modules/admin-full: fix usage of network model in network controller
[project/luci.git]
/
modules
/
admin-full
/
luasrc
/
controller
/
admin
/
network.lua
diff --git
a/modules/admin-full/luasrc/controller/admin/network.lua
b/modules/admin-full/luasrc/controller/admin/network.lua
index
896b4be
..
950285d
100644
(file)
--- 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"))