summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2017-07-05 09:07:43 +0200
committerPiotr Dymacz <pepe2k@gmail.com>2017-07-09 23:43:46 +0200
commit42c8bbb69b8563896422180b379a4642419e5dfc (patch)
treefde3ad5fd0b008a61dc8c70dc8eadabbe4eb11e9 /target/linux
parent8cd28140f112d05309048a3c6b3beb9c34a0badf (diff)
downloadmtk-20170518-42c8bbb69b8563896422180b379a4642419e5dfc.zip
mtk-20170518-42c8bbb69b8563896422180b379a4642419e5dfc.tar.gz
mtk-20170518-42c8bbb69b8563896422180b379a4642419e5dfc.tar.bz2
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 <pepe2k@gmail.com>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh4
1 files 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 88e8e92..bb0d9d5 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