From: John Crispin <john@openwrt.org>
Date: Mon, 6 Oct 2014 04:53:34 +0000 (+0000)
Subject: ar71xx: correctly detect hardware revision on TP-LINK Archer C5 and C7
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e77ae183a1b2d499b34eabf3e941cb0877462e72;p=openwrt%2Fstaging%2Fansuel.git

ar71xx: correctly detect hardware revision on TP-LINK Archer C5 and C7

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

SVN-Revision: 42797
---

diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index d11c2823c9..378a619d89 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -214,6 +214,13 @@ tplink_board_detect() {
 	"934100"*)
 		model="NC-LINK SMART-300"
 		;;
+	"c50000"*)
+		model="TP-Link Archer C5"
+		;;
+	"750000"*|\
+	"c70000"*)
+		model="TP-Link Archer C7"
+		;;
 	*)
 		hwver=""
 		;;