ath79: generic: fix the alphabetical order in 02_network
authorFoica David <superh552@gmail.com>
Wed, 14 Feb 2024 21:32:27 +0000 (23:32 +0200)
committerRobert Marko <robimarko@gmail.com>
Fri, 16 Feb 2024 13:10:11 +0000 (14:10 +0100)
This commit fixes the alphabetical order in 02_network.
The 2 deco devices in ath79_setup_interfaces() were in the wrong place.

Signed-off-by: Foica David <superh552@gmail.com>
target/linux/ath79/generic/base-files/etc/board.d/02_network

index 01747acae00a48ff6b74f4fc4364f67ea39178ee..4ed5605fa22ead128b9c8e0e89ef5af97bc43297 100644 (file)
@@ -496,6 +496,11 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth1" "3:lan:3" "4:lan:2" "5:lan:1" "6@eth0" "2:wan:4" "1:wan:5"
                ;;
+       tplink,deco-m4r-v1|\
+       tplink,deco-s4-v2)
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "3:lan:1" "5:lan:2"
+               ;;
        tplink,eap225-wall-v2)
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan"
@@ -572,11 +577,6 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan" "2:lan"
                ;;
-       tplink,deco-m4r-v1|\
-       tplink,deco-s4-v2)
-               ucidef_add_switch "switch0" \
-                       "0@eth0" "3:lan:1" "5:lan:2"
-               ;;
        hiwifi,hc6361|\
        xiaomi,mi-router-4q|\
        zbtlink,zbt-wd323)