ipq807x: order devices alphabetically
authorRodrigo Balerdi <lanchon@gmail.com>
Fri, 8 Nov 2024 20:45:12 +0000 (17:45 -0300)
committerPetr Štetiar <ynezz@true.cz>
Thu, 28 Nov 2024 18:47:42 +0000 (18:47 +0000)
Alphabetically sort devices in platform.sh

Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16505
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 17f84bba44dbee248b3a79935657a74b21caa280)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/qualcommax/ipq807x/base-files/lib/upgrade/platform.sh

index 00289dcfe6999e2d95c8dc8f0870511ba9aaf446..70657629fcc53c1f5cdcc5a9bd99fc0b15c1511d 100644 (file)
@@ -189,9 +189,6 @@ platform_do_upgrade() {
                CI_ROOTPART="rootfs"
                emmc_do_upgrade "$1"
                ;;
-       tplink,eap660hd-v1)
-               tplink_do_upgrade "$1"
-               ;;
        redmi,ax6|\
        xiaomi,ax3600|\
        xiaomi,ax9000)
@@ -217,6 +214,9 @@ platform_do_upgrade() {
                CI_DATAPART="rootfs_data"
                emmc_do_upgrade "$1"
                ;;
+       tplink,eap660hd-v1)
+               tplink_do_upgrade "$1"
+               ;;
        yuncore,ax880)
                active="$(fw_printenv -n active)"
                if [ "$active" -eq "1" ]; then