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>
This commit is contained in:
Piotr Dymacz 2017-07-05 09:07:43 +02:00
parent 8cd28140f1
commit 42c8bbb69b

View file

@ -447,6 +447,7 @@ platform_check_image() {
tl-wr841n-v9|\ tl-wr841n-v9|\
tl-wr842n-v2|\ tl-wr842n-v2|\
tl-wr842n-v3|\ tl-wr842n-v3|\
tl-wr902ac-v1|\
tl-wr941nd-v5|\ tl-wr941nd-v5|\
tl-wr941nd-v6|\ tl-wr941nd-v6|\
tl-wr940n-v4|\ tl-wr940n-v4|\
@ -657,8 +658,7 @@ platform_check_image() {
rb-952ui-5ac2nd|\ rb-952ui-5ac2nd|\
rb-962uigs-5hact2hnt|\ rb-962uigs-5hact2hnt|\
rb-lhg-5nd|\ rb-lhg-5nd|\
rb-mapl-2nd|\ rb-mapl-2nd)
tl-wr902ac-v1)
return 0 return 0
;; ;;
esac esac