ar71xx: fix AR71XX_MODEL on TP-Link TL-WR703N
authorJohn Crispin <blogic@openwrt.org>
Tue, 1 Mar 2016 08:14:45 +0000 (08:14 +0000)
committerJohn Crispin <blogic@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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48844 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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