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 <dan...@makrotopia.org>
---
 target/linux/ar71xx/base-files/lib/ar71xx.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh 
b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 02c46f9..b4b3920 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"
                ;;
@@ -499,7 +502,7 @@ ar71xx_board_detect() {
        *TL-WA750RE)
                name="tl-wa750re"
                ;;
-       *TL-WA7510N)
+       *"TL-WA7510N v1")
                name="tl-wa7510n"
                ;;
        *TL-WA850RE)
-- 
1.9.2

Attachment: pgp0ekLW7FJdn.pgp
Description: PGP signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to