summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 1906f564e..b4826f559 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -30,7 +30,8 @@ platform_check_image() {
w502u |\
v22rw-2x2 | \
wli-tx4-ag300n | \
- whr-g300n)
+ whr-g300n |\
+ wr512-3gn)
[ "$magic" != "2705" ] && {
echo "Invalid image type."
return 1