[openwrt/openwrt] ar71xx: /lib/ar71xx.sh: add model detection for TP-Link TL-WR810N

LEDE Commits lede-commits at lists.infradead.org
Sat Feb 3 05:13:36 PST 2018


neoraider pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/0c719bfcaf7931cb9155598aa5e4e771dc9dec16

commit 0c719bfcaf7931cb9155598aa5e4e771dc9dec16
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Sat Feb 3 14:12:05 2018 +0100

    ar71xx: /lib/ar71xx.sh: add model detection for TP-Link TL-WR810N
    
    Properly report the revision in /tmp/sysinfo/model.
    
    Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
---
 target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 2a79372..9d18840 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -215,6 +215,9 @@ tplink_board_detect() {
 
 		[ "$hwid" = '08020002' -a "$mid" = '00000002' ] && hwver=' v2'
 		;;
+	"081000"*)
+		model="TP-Link TL-WR810N"
+		;;
 	"083000"*)
 		model="TP-Link TL-WA830RE"
 



More information about the lede-commits mailing list