[openwrt/openwrt] ath79: fix lan port display order for sitecom wlr-7100

LEDE Commits lede-commits at lists.infradead.org
Mon Mar 22 20:09:21 GMT 2021


adrian pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/c459d5a710d7b74fa94721ea9f5c3fa985fef961

commit c459d5a710d7b74fa94721ea9f5c3fa985fef961
Author: Walter Sonius <walterav1984 at gmail.com>
AuthorDate: Sun Mar 21 20:06:33 2021 +0100

    ath79: fix lan port display order for sitecom wlr-7100
    
    Physical port order watched from the back of the device is:
    4 / 3 / 2 / 1 / WAN which also matches corresponding leds.
    This patch corrects LuCI switch webpage LAN port order.
    
    Signed-off-by: Walter Sonius <walterav1984 at gmail.com>
    [improve commit title, fix sorting in 02_network]
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
    (cherry picked from commit 46c0634b508f731df487a7909c439b2794445e26)
---
 target/linux/ath79/generic/base-files/etc/board.d/02_network | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network
index c816a85460..e9822d5fca 100755
--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
@@ -224,6 +224,7 @@ ath79_setup_interfaces()
 	dlink,dir-842-c3|\
 	dlink,dir-859-a1|\
 	engenius,epg5000|\
+	sitecom,wlr-7100|\
 	tplink,archer-c2-v3|\
 	tplink,tl-wr1043nd-v4|\
 	tplink,tl-wr1043n-v5)
@@ -263,7 +264,6 @@ ath79_setup_interfaces()
 	iodata,wn-ac1600dgr2|\
 	iodata,wn-ag300dgr|\
 	pcs,cr5000|\
-	sitecom,wlr-7100|\
 	wd,mynet-n750)
 		ucidef_add_switch "switch0" \
 			"0 at eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"



More information about the lede-commits mailing list