diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2010-08-06 22:49:37 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2010-08-06 22:49:37 +0000 |
commit | 788561a9096e83494eaa7e1c941f73e97844159e (patch) | |
tree | 1d9bb48508502ef1ca7516c1ce5de5b5c9d58a5c /package/broadcom-diag/src | |
parent | 98746d4e8b8a970a93a07793321653889ddc93b2 (diff) | |
download | mtk-20170518-788561a9096e83494eaa7e1c941f73e97844159e.zip mtk-20170518-788561a9096e83494eaa7e1c941f73e97844159e.tar.gz mtk-20170518-788561a9096e83494eaa7e1c941f73e97844159e.tar.bz2 |
brcm47xx: fix warning introduced in r22516.
SVN-Revision: 22521
Diffstat (limited to 'package/broadcom-diag/src')
-rw-r--r-- | package/broadcom-diag/src/diag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c index 620f291..3a2a69b 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]; |