firmware-utils: tplink-safeloader: Fix for Archer C2 V3 image generation
Fix for factory image generation, so that stock firmware will accept the openwrt image. Ref: https://forum.openwrt.org/t/support-for-tp-link-archer-c2-v3/15617/17 Signed-off-by: Skirmantas Lauzikas <skirmantas.lauzikas@blackraven.lt> [reword commit message, use correct order for conditions, trim trailing whitespace] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
963a83d82b
commit
30f48fb107
1 changed files with 2 additions and 1 deletions
|
@ -1652,7 +1652,8 @@ static void build_image(const char *output,
|
|||
parts[4] = read_file("file-system", rootfs_image, add_jffs2_eof, file_system_partition);
|
||||
|
||||
/* Some devices need the extra-para partition to accept the firmware */
|
||||
if (strcasecmp(info->id, "ARCHER-C25-V1") == 0 ||
|
||||
if (strcasecmp(info->id, "ARCHER-C2-V3") == 0 ||
|
||||
strcasecmp(info->id, "ARCHER-C25-V1") == 0 ||
|
||||
strcasecmp(info->id, "ARCHER-C59-V2") == 0 ||
|
||||
strcasecmp(info->id, "ARCHER-C60-V2") == 0 ||
|
||||
strcasecmp(info->id, "TLWR1043NV5") == 0) {
|
||||
|
|
Loading…
Reference in a new issue