aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-10-06 04:53:34 +0000
committerJohn Crispin <john@openwrt.org>2014-10-06 04:53:34 +0000
commite77ae183a1b2d499b34eabf3e941cb0877462e72 (patch)
tree584ff84551991d5d426229385fc85080c8dccf5c /target/linux/ar71xx/base-files
parent7f772910a17db1cbc903afe3d3eb5f4aa9ac43fd (diff)
downloadupstream-e77ae183a1b2d499b34eabf3e941cb0877462e72.tar.gz
upstream-e77ae183a1b2d499b34eabf3e941cb0877462e72.tar.bz2
upstream-e77ae183a1b2d499b34eabf3e941cb0877462e72.zip
ar71xx: correctly detect hardware revision on TP-LINK Archer C5 and C7
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 42797
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh7
1 files changed, 7 insertions, 0 deletions
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=""
;;