[package] fix detection of motorola wr850g, thanks to Vinicius Fonseca, (#4710)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 7 Jun 2009 09:28:29 +0000 (09:28 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 7 Jun 2009 09:28:29 +0000 (09:28 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16367 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/broadcom-diag/src/diag.c

index 96894da..c8c0e34 100644 (file)
@@ -781,6 +781,8 @@ static struct platform_t __init *platform_detect(void)
        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* */
This page took 0.023949 seconds and 4 git commands to generate.