This patch can fix the issue that ethernet crash or turns into disable status
when initiating multi ssid (8 for each band, total is 16)
For more detail, please refer to https://dev.openwrt.org/ticket/15244
My suggestion is to move the line "/sbin/wifi down" in the front of "stop"
when restart/start the network (executing /etc/init.d/network restart)
Signed-off-by: banglang.huang<[email protected]>
---
diff --git a/etc/init.d/network b/etc/init.d/network
index 429f33d..04b5171 100755
--- a/packages/netifd/files/etc/init.d/network
+++ b/packages/netifd/files/etc/init.d/network
@@ -7,6 +7,7 @@ SERVICE_DAEMONIZE=1
SERVICE_WRITE_PID=1
start() {
+ /sbin/wifi down
stop
[ -e /proc/sys/kernel/core_pattern ] && {
ulimit -c unlimited
@@ -21,7 +22,6 @@ start() {
sleep 5
- /sbin/wifi down
/sbin/wifi up
}_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel