tplink-safeloader: drop unqualified EAP225-V3 IDs
authorSander Vanheule <sander@svanheule.net>
Mon, 27 Jun 2022 16:31:24 +0000 (18:31 +0200)
committerSander Vanheule <sander@svanheule.net>
Mon, 27 Jun 2022 19:15:15 +0000 (21:15 +0200)
After adding the regionless identifiers in commit 9563fe8e78cb
("tplink-safeloader: add regionless EAP225-V3 IDs"), the generated
support-list partition exceeded the allocated space of 256 bytes. This
resulted in the tool failing to generate factory images with the
following warning:
    support-list partition too big (more than 256 bytes): Success

Although this message reports "Success", the tool actually fails with a
return code of 1.

This essentialy reverts commit 9563fe8e78cb, since the region-qualified
IDs are also compatible with the non region-qualified devices. The
change makes the generated support-list partition fit within the
allocated space again.

Tested-by: Andre Klärner <kandre@ak-online.be>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
src/tplink-safeloader.c

index 9ed3c3fa7782781fdac41cd4dab8c1330c5fbb96..7a31ac2b2b52d988a6d575bc2980578b803ea069 100644 (file)
@@ -1675,10 +1675,8 @@ static struct device_info boards[] = {
                        "SupportList:\r\n"
                        "EAP225(TP-Link|UN|AC1350-D):3.0\r\n"
                        "EAP225(TP-Link|UN|AC1350-D):3.20\r\n"
-                       "EAP225(TP-Link|UN|AC1350-D):4.0\r\n"
                        "EAP225(TP-Link|UN|AC1350-D):4.0 CA\r\n"
                        "EAP225-Outdoor(TP-Link|UN|AC1200-D):1.0\r\n"
-                       "EAP225-Outdoor(TP-Link|UN|AC1200-D):3.0\r\n"
                        "EAP225-Outdoor(TP-Link|UN|AC1200-D):3.0 CA,JP\r\n",
                .part_trail = PART_TRAIL_NONE,
                .soft_ver = SOFT_VER_DEFAULT,