Add support for TP-LINK TL-WA830RE v1
This commit is contained in:
parent
b5050b294e
commit
c7ff22ca15
@ -0,0 +1,24 @@
|
||||
From: Matthias Schiffer <mschiffer@universe-factory.net>
|
||||
Date: Mon, 15 Jun 2015 21:28:06 +0200
|
||||
Subject: ar71xx: fix AR71XX_MODEL for TP-Link TL-WA830RE v1
|
||||
|
||||
The v1 identifies as v10 internally. As there is no TL-WA830RE v10, add a
|
||||
workaround to avoid confusing users.
|
||||
|
||||
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
|
||||
|
||||
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
|
||||
index 1838cb4..d79776b 100755
|
||||
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
|
||||
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
|
||||
@@ -145,6 +145,10 @@ tplink_board_detect() {
|
||||
;;
|
||||
"083000"*)
|
||||
model="TP-Link TL-WA830RE"
|
||||
+
|
||||
+ if [ "$hwver" = 'v10' ]; then
|
||||
+ hwver='v1'
|
||||
+ fi
|
||||
;;
|
||||
"084100"*)
|
||||
model="TP-Link TL-WR841N/ND"
|
@ -83,9 +83,10 @@ $(eval $(call GluonModel,TLWDR4300,tl-wdr4300-v1,tp-link-tl-wdr4300-v1))
|
||||
$(eval $(call GluonProfile,TLWA750))
|
||||
$(eval $(call GluonModel,TLWA750,tl-wa750re-v1,tp-link-tl-wa750re-v1))
|
||||
|
||||
ifeq ($(BROKEN),1)
|
||||
# TL-WA830RE v2
|
||||
# TL-WA830RE v1, v2
|
||||
$(eval $(call GluonProfile,TLWA830))
|
||||
$(eval $(call GluonModel,TLWA830,tl-wa830re-v1,tp-link-tl-wa830re-v1))
|
||||
ifeq ($(BROKEN),1)
|
||||
$(eval $(call GluonModel,TLWA830,tl-wa830re-v2,tp-link-tl-wa830re-v2))
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user