firmware-utils: tplink-safeloader: Fix for Archer C2 V3 image generation
authorSkirmantas Lauzikas <skirmantas.lauzikas@blackraven.lt>
Wed, 14 Nov 2018 13:45:41 +0000 (15:45 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 27 Jan 2019 15:41:05 +0000 (16:41 +0100)
commitdaef3b8927999be21d2fd04535ea005b3591975e
treefb4f590fcb9992eeda4720976a9f6bff1ba499e8
parentd24bbd91d9a4adcf867e073962cb7efd7ddfdd5b
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>
src/tplink-safeloader.c