This change corrects expected CPU name of Ralink RT3050, which
describes itself as RT3350 (this name is ripped off chip and elevated
tu user space via /proc/cpuinfo.
This patch fixes wired network on DIR-300 rev B and DIR-600 rev B

Signed-off-by: Slawomir Cygan <wiewior at wiewior.eu.org>

---
Index: trunk/target/linux/ramips/base-files/etc/uci-defaults/network
===================================================================
--- trunk/target/linux/ramips/base-files/etc/uci-defaults/network
(wersja 25666)
+++ trunk/target/linux/ramips/base-files/etc/uci-defaults/network
(kopia robocza)
@@ -1,5 +1,5 @@
 #!/bin/sh
-RT305X=`cat /proc/cpuinfo | grep RT305`
+RT3X5X=`cat /proc/cpuinfo | grep RT3.5`
 [ -z "${RT3X5X}" ] || {
        uci batch <<EOF
 set network.lan.ifname=eth0.1
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to