aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-10-06 04:53:34 +0000
committerJohn Crispin <blogic@openwrt.org>2014-10-06 04:53:34 +0000
commit0496c6a597a344e0a8e513dfb96d91e0962b38e8 (patch)
tree6c12ec8219841549cd18322b96f86f3581ced15b /target
parentac7e01ea5ee27b2f52d9a24eb3c22e46908018ad (diff)
downloadupstream-0496c6a597a344e0a8e513dfb96d91e0962b38e8.tar.gz
upstream-0496c6a597a344e0a8e513dfb96d91e0962b38e8.tar.bz2
upstream-0496c6a597a344e0a8e513dfb96d91e0962b38e8.zip
ar71xx: correctly detect hardware revision on TP-LINK Archer C5 and C7
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42797 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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=""
;;