firmware-utils: tplink-safeloader: Fix for Archer C2 V3 image generation
authorSkirmantas Lauzikas <[email protected]>
Wed, 14 Nov 2018 13:45:41 +0000 (15:45 +0200)
committerJo-Philipp Wich <[email protected]>
Sun, 27 Jan 2019 15:41:05 +0000 (16:41 +0100)
commit30f48fb107506829975fc18711d41059368e2faa
tree7ce202c1ae2fabab9815f6f06e1b82aef522c16b
parent963a83d82b954218ab74cd499ac0635c7b172dbd
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 <[email protected]>
[reword commit message, use correct order for conditions,
 trim trailing whitespace]
Signed-off-by: Jo-Philipp Wich <[email protected]>
tools/firmware-utils/src/tplink-safeloader.c