From: blogic Date: Mon, 2 Jun 2014 14:45:21 +0000 (+0000) Subject: ar71xx: fix board detection for TL-WA7510N X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=1d932cebc08d1606c97491ebc6fe4defdfe7a8f0;p=openwrt.git 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40971 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 8682812ac8..7a285f21cb 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)