netifd: bring wifi down before shutting down
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 8 Jun 2013 11:44:12 +0000 (11:44 +0000)
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 8 Jun 2013 11:44:12 +0000 (11:44 +0000)
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

package/network/config/netifd/files/etc/init.d/network

index 429f33d..7558645 100755 (executable)
@@ -37,6 +37,7 @@ shutdown() {
 }
 
 stop() {
+       /sbin/wifi down
        service_stop /sbin/netifd
 }