aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-diag
diff options
context:
space:
mode:
Diffstat (limited to 'package/broadcom-diag')
-rw-r--r--package/broadcom-diag/src/diag.c3
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];