mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08: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() {
|
||||
/sbin/wifi down
|
||||
service_stop /sbin/netifd
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user