From 8439b23b20b85ca76bf3b9c844a1fdca968ae71c Mon Sep 17 00:00:00 2001 From: hauke Date: Fri, 6 Aug 2010 22:49:37 +0000 Subject: [PATCH] brcm47xx: fix warning introduced in r22516. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22521 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/broadcom-diag/src/diag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c index 620f29171..3a2a69bb1 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];