netifd: bring wifi down before shutting down

works around wifiX references not being freed on network restart.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36883 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Jonas Gorski 2013-06-08 11:44:12 +00:00
parent 0124271f8e
commit 3d9c1a0ebc
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ shutdown() {
}
stop() {
/sbin/wifi down
service_stop /sbin/netifd
}