Author: blogic
Date: 2016-04-01 09:12:00 +0200 (Fri, 01 Apr 2016)
New Revision: 49107

Modified:
   trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh
Log:
ar71xx: fix the revision of a few TP-LINK devices in AR71XX_MODEL to match 
labels/image names

Let's not confuse users about the revisions of their devices when we can
easily avoid it.

Not tested on real hardware.

Signed-off-by: Matthias Schiffer <[email protected]>

Modified: trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh  2016-04-01 07:11:56 UTC 
(rev 49106)
+++ trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh  2016-04-01 07:12:00 UTC 
(rev 49107)
@@ -137,6 +137,10 @@
                ;;
        "071000"*)
                model="TP-Link TL-WR710N"
+
+               if [ "$hwid" = '07100002' -a "$mid" = '00000002' ]; then
+                       hwver=' v2.1'
+               fi
                ;;
        "072001"*)
                model="TP-Link TL-WR720N"
@@ -177,6 +181,10 @@
                ;;
        "084100"*)
                model="TP-Link TL-WR841N/ND"
+
+               if [ "$hwid" = '08410002' -a "$mid" = '00000002' ]; then
+                       hwver=' v1.5'
+               fi
                ;;
        "084200"*)
                model="TP-Link TL-WR842N/ND"
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to