Browse Source

ipq807x: order devices alphabetically

Alphabetically sort devices in platform.sh

Signed-off-by: Rodrigo Balerdi <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16505
Signed-off-by: Robert Marko <[email protected]>
(cherry picked from commit 17f84bba44dbee248b3a79935657a74b21caa280)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <[email protected]>
Rodrigo Balerdi 1 year ago
parent
commit
b1c01cd4b5

+ 3 - 3
target/linux/qualcommax/ipq807x/base-files/lib/upgrade/platform.sh

@@ -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