From: Hauke Mehrtens Date: Fri, 6 Aug 2010 22:49:37 +0000 (+0000) Subject: brcm47xx: fix warning introduced in r22516. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=788561a9096e83494eaa7e1c941f73e97844159e;p=openwrt%2Fstaging%2Frmilecki.git brcm47xx: fix warning introduced in r22516. SVN-Revision: 22521 --- diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c index 620f29171ce..3a2a69bb149 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];