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>

SVN-Revision: 36883
This commit is contained in:
Jonas Gorski 2013-06-08 11:44:12 +00:00
parent da7590cd21
commit b9de8ca7f5

View file

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