From e77ae183a1b2d499b34eabf3e941cb0877462e72 Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Mon, 6 Oct 2014 04:53:34 +0000
Subject: [PATCH] ar71xx: correctly detect hardware revision on TP-LINK Archer
 C5 and C7

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

SVN-Revision: 42797
---
 target/linux/ar71xx/base-files/lib/ar71xx.sh | 7 +++++++
 1 file changed, 7 insertions(+)

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=""
 		;;
-- 
2.30.2