[openwrt/openwrt] ath79: fix sorting in generic 02_network

LEDE Commits lede-commits at lists.infradead.org
Thu May 13 15:19:45 PDT 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/678001989261618cb834050c7a08ec07671f6c94

commit 678001989261618cb834050c7a08ec07671f6c94
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Thu May 13 21:19:01 2021 +0200

    ath79: fix sorting in generic 02_network
    
    The two device strings were not ordered properly.
    
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/ath79/generic/base-files/etc/board.d/02_network | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 8b3f04c8e1..52e773fea3 100644
--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
@@ -437,8 +437,8 @@ ath79_setup_interfaces()
 		ucidef_add_switch "switch0" \
 			"0 at eth0" "1:lan" "2:lan"
 		;;
-	zbtlink,zbt-wd323|\
-	xiaomi,mi-router-4q)
+	xiaomi,mi-router-4q|\
+	zbtlink,zbt-wd323)
 		ucidef_set_interface_wan "eth1"
 		ucidef_add_switch "switch0" \
 			"0 at eth0" "3:lan:1" "4:lan:2"



More information about the lede-commits mailing list