projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c70e46
)
fix wr850g detection (#1936)
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 3 Nov 2007 16:17:53 +0000
(16:17 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 3 Nov 2007 16:17:53 +0000
(16:17 +0000)
SVN-Revision: 9492
package/broadcom-diag/src/diag.c
patch
|
blob
|
history
diff --git
a/package/broadcom-diag/src/diag.c
b/package/broadcom-diag/src/diag.c
index ef586baaedb86f9322d5d17ac514f4ff9eb18c4c..35737b002f92f8c26c184c40fdf2480264075c09 100644
(file)
--- 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];