diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-02-03 14:12:05 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-02-03 14:13:26 +0100 |
commit | 0c719bfcaf7931cb9155598aa5e4e771dc9dec16 (patch) | |
tree | 5fd6f3c9776184399509500fc216d0ad03871d56 | |
parent | fd30187c873868aa7bfea0d3402022164e09af49 (diff) | |
download | upstream-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>
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 |
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" |