diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2010-08-06 22:49:37 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2010-08-06 22:49:37 +0000 |
commit | e83a83b9f1906a3d6fb3e08cab0ece67c6562fe0 (patch) | |
tree | 39dcab66e5fb65c4152473c515ccf8ac28c6e296 /package/broadcom-diag/src/diag.c | |
parent | dd6f1e91875c1e8fef27ba8bf137cbf3d9d4e291 (diff) | |
download | upstream-e83a83b9f1906a3d6fb3e08cab0ece67c6562fe0.tar.gz upstream-e83a83b9f1906a3d6fb3e08cab0ece67c6562fe0.tar.bz2 upstream-e83a83b9f1906a3d6fb3e08cab0ece67c6562fe0.zip |
brcm47xx: fix warning introduced in r22516.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22521 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-diag/src/diag.c')
-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 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]; |