From: 南浦月 Date: Thu, 19 Sep 2019 09:41:01 +0000 (+0800) Subject: ar71xx: fix tl-wdr3320-v2 upgrade X-Git-Tag: v18.06.6~52 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ea8f7d74ba98739c5a549d873e347101d82bdd48;p=oweals%2Fopenwrt.git ar71xx: fix tl-wdr3320-v2 upgrade Fix the error that tl-wdr3320-v2 can't upgrade firmware via web interface by using magic_ver="0200" for this device. Signed-off-by: 南浦月 [commit message facelift] Signed-off-by: Adrian Schmutzler (cherry picked from commit 0ff2385a92c0a31769fce954b7bd571d6114dbc8) --- diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index ca1270b7fd..8558fde3fe 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -495,7 +495,7 @@ platform_check_image() { local magic_ver="0100" case "$board" in - tl-wdr6500-v2) + tl-wdr3320-v2|tl-wdr6500-v2) magic_ver="0200" ;; esac