From 0ff2385a92c0a31769fce954b7bd571d6114dbc8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=8D=97=E6=B5=A6=E6=9C=88?= Date: Thu, 19 Sep 2019 17:41:01 +0800 Subject: [PATCH] ar71xx: fix tl-wdr3320-v2 upgrade MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index d5570fdf18..a76842bdde 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -499,7 +499,7 @@ platform_check_image() { local magic_ver="0100" case "$board" in - tl-wdr6500-v2) + tl-wdr3320-v2|tl-wdr6500-v2) magic_ver="0200" ;; esac -- 2.25.1