ar71xx: fix AR71XX_MODEL on TP-Link TL-WR703N
authorJohn Crispin <john@openwrt.org>
Tue, 1 Mar 2016 08:14:45 +0000 (08:14 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 1 Mar 2016 08:14:45 +0000 (08:14 +0000)
The hwid check was wrong, causing the AR71XX_MODEL value to end with a
space (as $hwver was unset).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Backport of r47553

SVN-Revision: 48844

target/linux/ar71xx/base-files/lib/ar71xx.sh

index 0b2857d8b3860a02413b32588640bb293c0ab6e0..f1f5561c6e80cf91c2a0a5f7e72c6523daa35cba 100755 (executable)
@@ -123,7 +123,7 @@ tplink_board_detect() {
        "3C0002"*)
                model="MINIBOX_V1"
                ;;
-       "070300"*)
+       "070301"*)
                model="TP-Link TL-WR703N"
                ;;
        "071000"*)