luci-0.10: merge r8151
This commit is contained in:
parent
0b6238c7f2
commit
579975840f
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ function wifi_delete(network)
|
|||
luci.sys.call("env -i /sbin/wifi down %q >/dev/null" % dev:name())
|
||||
ntm:del_wifinet(network)
|
||||
ntm:commit("wireless")
|
||||
if net:is_empty() then
|
||||
if net and net:is_empty() then
|
||||
ntm:del_network(net:name())
|
||||
ntm:commit("network")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue