diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-11-03 16:17:53 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-11-03 16:17:53 +0000 |
commit | 9b486d6381a73fe79745c182420e3aa78751f012 (patch) | |
tree | 7fe1611d6e4411f58ec2e877443abcb43d302644 /package/broadcom-diag/src | |
parent | 7c70e465c745c323db0d91519a891e18336f54a3 (diff) | |
download | upstream-9b486d6381a73fe79745c182420e3aa78751f012.tar.gz upstream-9b486d6381a73fe79745c182420e3aa78751f012.tar.bz2 upstream-9b486d6381a73fe79745c182420e3aa78751f012.zip |
fix wr850g detection (#1936)
SVN-Revision: 9492
Diffstat (limited to 'package/broadcom-diag/src')
-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 ef586baaed..35737b002f 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]; |