Browse Source

fix detection of motorola wr850g, thanks to Vinicius Fonseca, (#4710)

SVN-Revision: 16367
Florian Fainelli 16 years ago
parent
commit
74f8ea728a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      package/broadcom-diag/src/diag.c

+ 2 - 0
package/broadcom-diag/src/diag.c

@@ -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* */