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 | c08fa618b397cdb03f372aee9ace458989d3e7e7 (patch) | |
tree | e04d65af86e66373375f1e85205053f93e430082 | |
parent | fb8d9c84cc4f59c901eaffea76ba5b4e3a732541 (diff) | |
download | upstream-c08fa618b397cdb03f372aee9ace458989d3e7e7.tar.gz upstream-c08fa618b397cdb03f372aee9ace458989d3e7e7.tar.bz2 upstream-c08fa618b397cdb03f372aee9ace458989d3e7e7.zip |
fix wr850g detection (#1936)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9492 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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]; |