aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-diag/src/diag.c
diff options
context:
space:
mode:
Diffstat (limited to 'package/broadcom-diag/src/diag.c')
-rw-r--r--package/broadcom-diag/src/diag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c
index 620f29171c..3a2a69bb14 100644
--- a/package/broadcom-diag/src/diag.c
+++ b/package/broadcom-diag/src/diag.c
@@ -1047,7 +1047,7 @@ static struct platform_t __init *platform_detect(void)
return &platforms[WDNetCenter];
}
- if (!strcmp(boardnum, "08") || !strcmp(boardnum, "01") &&
+ if ((!strcmp(boardnum, "08") || !strcmp(boardnum, "01")) &&
!strcmp(boardtype,"0x0472") && !strcmp(getvar("cardbus"), "1")) { /* Netgear WNR834B V1 and V2*/
/* TODO: Check for version. Default platform is V2 for now. */
return &platforms[WNR834BV2];