diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-06-07 09:28:29 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-06-07 09:28:29 +0000 |
commit | 20f06f43fcd9feae6b62adc20d95767a87c6814c (patch) | |
tree | 0c7831c7e07008d3cfc4283428eff9fcffb19261 /package/broadcom-diag | |
parent | 8ef1bac4865bc0cc314904c09518bb803b07038e (diff) |
[package] fix detection of motorola wr850g, thanks to Vinicius Fonseca, (#4710)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16367 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-diag')
-rw-r--r-- | package/broadcom-diag/src/diag.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c index 96894da0a..c8c0e34ab 100644 --- a/package/broadcom-diag/src/diag.c +++ b/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* */ |