ipq807x: order devices alphabetically
authorRodrigo Balerdi <lanchon@gmail.com>
Fri, 8 Nov 2024 20:45:12 +0000 (17:45 -0300)
committerRobert Marko <robimarko@gmail.com>
Sun, 17 Nov 2024 11:24:43 +0000 (12:24 +0100)
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>
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