aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author南浦月 <nanpuyue@gmail.com>2019-09-19 17:41:01 +0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-11-08 16:29:01 +0100
commit0ff2385a92c0a31769fce954b7bd571d6114dbc8 (patch)
treefe99180f5faf05a552f7875299ebcd02e8a69562
parent11052900494ec8216b9b39ba0b24d5e036f4d323 (diff)
downloadupstream-0ff2385a92c0a31769fce954b7bd571d6114dbc8.tar.gz
upstream-0ff2385a92c0a31769fce954b7bd571d6114dbc8.tar.bz2
upstream-0ff2385a92c0a31769fce954b7bd571d6114dbc8.zip
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: 南浦月 <nanpuyue@gmail.com> [commit message facelift] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
1 files changed, 1 insertions, 1 deletions
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