ar71xx: verify TP-Link TL-WR902AC sysupgrade image
authorPiotr Dymacz <pepe2k@gmail.com>
Wed, 5 Jul 2017 07:07:43 +0000 (09:07 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Sun, 9 Jul 2017 21:43:46 +0000 (23:43 +0200)
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>
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index 88e8e92a0d071c2c5446c0a0845368771ff3b61c..bb0d9d5ea98a4fdd2867dbf3521c693240cfa63b 100755 (executable)
@@ -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