From 3d9c1a0ebcb31b5c24c1dc98532c8f4d92ab8a3b Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Sat, 8 Jun 2013 11:44:12 +0000 Subject: netifd: bring wifi down before shutting down works around wifiX references not being freed on network restart. Signed-off-by: Jonas Gorski git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36883 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/config/netifd/files/etc/init.d/network | 1 + 1 file changed, 1 insertion(+) (limited to 'package/network') diff --git a/package/network/config/netifd/files/etc/init.d/network b/package/network/config/netifd/files/etc/init.d/network index 429f33dd92..75586452f0 100755 --- a/package/network/config/netifd/files/etc/init.d/network +++ b/package/network/config/netifd/files/etc/init.d/network @@ -37,6 +37,7 @@ shutdown() { } stop() { + /sbin/wifi down service_stop /sbin/netifd } -- cgit v1.2.3