summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-02 14:45:21 +0000
committerJohn Crispin <john@openwrt.org>2014-06-02 14:45:21 +0000
commit599ddc7a85dd3906b1022036657e4ad86df16dad (patch)
tree4df6fbd574bfce9a1ce5eaa6066dfa61d82f2017 /target
parent06d656be27ef084634927eead8737cee35a5d723 (diff)
downloadmtk-20170518-599ddc7a85dd3906b1022036657e4ad86df16dad.zip
mtk-20170518-599ddc7a85dd3906b1022036657e4ad86df16dad.tar.gz
mtk-20170518-599ddc7a85dd3906b1022036657e4ad86df16dad.tar.bz2
ar71xx: fix board detection for TL-WA7510N
Detect TL-WA7510N v1 by the board name as defined in mach-tl-wa901nd.c and add hardware ID to tplink_board_detect Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 40971
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 8682812..7a285f2 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -118,6 +118,9 @@ tplink_board_detect() {
"075000"*)
model="TP-Link TL-WA750RE"
;;
+ "751000"*)
+ model="TP-Link TL-WA7510N"
+ ;;
"080100"*)
model="TP-Link TL-WA801N/ND"
;;
@@ -508,7 +511,7 @@ ar71xx_board_detect() {
*TL-WA750RE)
name="tl-wa750re"
;;
- *TL-WA7510N)
+ *"TL-WA7510N v1")
name="tl-wa7510n"
;;
*TL-WA850RE)