From: Mathias Kresin <dev@kresin.me>
Date: Thu, 2 Feb 2017 23:59:16 +0000 (+0100)
Subject: lantiq: fix ARV7519RW22 switch port indexing
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cfd16ecc4824d3c29f92827fc04f40baa30f61a5;p=openwrt%2Fstaging%2Fansuel.git

lantiq: fix ARV7519RW22 switch port indexing

Fixes FS#454.

Signed-off-by: Mathias Kresin <dev@kresin.me>
---

diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network
index bc61a73362..6ab5cb979e 100755
--- a/target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/target/linux/lantiq/base-files/etc/board.d/02_network
@@ -58,7 +58,7 @@ ARV7519PW)
 ARV7519RW22)
 	wan_mac=$(macaddr_add "$(mtd_get_mac_binary boardconfig 22)" 1)
 	ucidef_add_switch "switch0" \
-		"0:lan" "2:lan" "3:lan" "4:lan" "5:lan" "6t@eth0"
+		"0:lan:5" "2:lan:3" "3:lan:4" "4:lan:1" "5:lan:2" "6t@eth0"
 	;;
 
 BTHOMEHUBV2B)