From 42c8bbb69b8563896422180b379a4642419e5dfc Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Wed, 5 Jul 2017 09:07:43 +0200 Subject: [PATCH] ar71xx: verify TP-Link TL-WR902AC sysupgrade image Until we enable requirement for metadata in sysupgrade images under ar71xx target, this prevents users from using wrong image. Signed-off-by: Piotr Dymacz --- target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 88e8e92a0d07..bb0d9d5ea98a 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -447,6 +447,7 @@ platform_check_image() { tl-wr841n-v9|\ tl-wr842n-v2|\ tl-wr842n-v3|\ + tl-wr902ac-v1|\ tl-wr941nd-v5|\ tl-wr941nd-v6|\ tl-wr940n-v4|\ @@ -657,8 +658,7 @@ platform_check_image() { rb-952ui-5ac2nd|\ rb-962uigs-5hact2hnt|\ rb-lhg-5nd|\ - rb-mapl-2nd|\ - tl-wr902ac-v1) + rb-mapl-2nd) return 0 ;; esac -- 2.30.2