ar71xx: /lib/ar71xx.sh: add model detection for TP-Link TL-WR810N
authorMatthias Schiffer <mschiffer@universe-factory.net>
Sat, 3 Feb 2018 13:12:05 +0000 (14:12 +0100)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Sat, 3 Feb 2018 13:13:26 +0000 (14:13 +0100)
Properly report the revision in /tmp/sysinfo/model.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
target/linux/ar71xx/base-files/lib/ar71xx.sh

index 2a793723d9a9cc1796fd1819bd57b83061888d6b..9d188400d3a88d9cd4259c9137685c82e4087287 100755 (executable)
@@ -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"