mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 09:42:09 +00:00
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:
parent
da7590cd21
commit
b9de8ca7f5
@ -37,6 +37,7 @@ shutdown() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
|
/sbin/wifi down
|
||||||
service_stop /sbin/netifd
|
service_stop /sbin/netifd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user