diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-11-03 16:17:53 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-11-03 16:17:53 +0000 |
commit | a9bfa187f200baf9221e78a532aba5ad5379725d (patch) | |
tree | e04d65af86e66373375f1e85205053f93e430082 /package | |
parent | def6198007fef7dd3994b0a07cad9f46db5c62e6 (diff) |
fix wr850g detection (#1936)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9492 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/broadcom-diag/src/diag.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c index ef586baae..35737b002 100644 --- a/package/broadcom-diag/src/diag.c +++ b/package/broadcom-diag/src/diag.c @@ -713,7 +713,8 @@ static struct platform_t __init *platform_detect(void) return &platforms[BUFFALO_UNKNOWN]; } - if (!strcmp(getvar("CFEver"), "MotoWRv203") || + if (!strncmp(getvar("CFEver"), "MotoWRv2", 8) || + !strncmp(getvar("CFEver"), "MotoWRv3", 8) || !strcmp(getvar("MOTO_BOARD_TYPE"), "WR_FEM1")) { return &platforms[WR850GV2V3]; |