[OpenWrt-Devel] [PATCH] brcm47xx: fix wgt634u port assignment, broken since openwrt r47866

Russell Senior russell at personaltelco.net
Sat May 7 05:32:13 EDT 2016



Signed-off-by: Russell Senior <russell at personaltelco.net>
---
 target/linux/brcm47xx/base-files/etc/board.d/01_detect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/brcm47xx/base-files/etc/board.d/01_detect b/target/linux/brcm47xx/base-files/etc/board.d/01_detect
index 91ac16e..16b81d4 100755
--- a/target/linux/brcm47xx/base-files/etc/board.d/01_detect
+++ b/target/linux/brcm47xx/base-files/etc/board.d/01_detect
@@ -124,7 +124,7 @@ detect_by_model() {
 	# Netgear WGT634U exception
 	if grep -sqE 'mtd0: 000(6|a)0000' /proc/mtd; then
 		ucidef_add_switch "switch0" \
-			"0:wan" "1:lan" "2:lan" "3:lan" "4:lan" "5 at eth0"
+			"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5 at eth0"
 		return
 	fi
 
-- 
2.8.2



-- 
Russell Senior, President
russell at personaltelco.net
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list