kernel: fq_codel: dont reinit flow state
[openwrt/staging/chunkeey.git] / package / netifd / files / etc / init.d / network
index 078a285957f9a72886089f7c7f0558a9ac3171aa..28b1ba3dde1af1465a54479ccc101e00987b852a 100755 (executable)
@@ -20,13 +20,15 @@ start() {
        setup_switch
 
        sleep 1
+
+       /sbin/wifi down
+       /sbin/wifi up
 }
 
 restart() {
        ifdown -a
        sleep 1
        start
-       wifi
 }
 
 shutdown() {
@@ -40,4 +42,6 @@ stop() {
 
 reload() {
        ubus call network reload
+       /sbin/wifi down
+       /sbin/wifi up
 }