aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-02-03 14:12:05 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-02-03 14:13:26 +0100
commit0c719bfcaf7931cb9155598aa5e4e771dc9dec16 (patch)
tree5fd6f3c9776184399509500fc216d0ad03871d56 /target
parentfd30187c873868aa7bfea0d3402022164e09af49 (diff)
downloadupstream-0c719bfcaf7931cb9155598aa5e4e771dc9dec16.tar.gz
upstream-0c719bfcaf7931cb9155598aa5e4e771dc9dec16.tar.bz2
upstream-0c719bfcaf7931cb9155598aa5e4e771dc9dec16.zip
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@universe-factory.net>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 2a793723d9..9d188400d3 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"