Hi there!

I've sent this fix a while ago but it didn't make to the 8.09.1 release.

Is there a reason to these fix take so long to be applied?

Thanks!

Vinicius


-----Original Message-----
From: Vinicius Fonseca [mailto:vinicius....@gmail.com] 
Sent: sexta-feira, 22 de maio de 2009 19:30
To: openwrt-devel@lists.openwrt.org
Subject: [PATCH] diag.c recognizes "Motorola WR850Gv3" as "Dell TrueMobile
2300 v2"

Use the nvram variable ModelId to detect Motorola WR850Gv3.
This patch closes the ticket #4740.

Signed-off-by: Vinicius Fonseca <vinicius....@gmail.com>

---

Index: package/broadcom-diag/src/diag.c
===================================================================
--- package/broadcom-diag/src/diag.c    (revision 15920)
+++ package/broadcom-diag/src/diag.c    (working copy)
@@ -781,6 +781,8 @@
        if ((buf = nvram_get("ModelId"))) {
                if (!strcmp(buf, "WR850GP"))
                        return &platforms[WR850GP];
+               if (!strcmp(buf, "WR850G"))
+                       return &platforms[WR850GV2V3];
                if (!strcmp(buf, "WX-5565") &&
!strcmp(getvar("boardtype"),"bcm94710ap"))
                        return &platforms[TM2300]; /* Dell TrueMobile 2300
*/
                if (startswith(buf,"WE800G")) /* WE800G* */

---




_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to