projects
/
openwrt
/
staging
/
ldir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98746d4
)
brcm47xx: fix warning introduced in r22516.
author
Hauke Mehrtens
<hauke@hauke-m.de>
Fri, 6 Aug 2010 22:49:37 +0000
(22:49 +0000)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Fri, 6 Aug 2010 22:49:37 +0000
(22:49 +0000)
SVN-Revision: 22521
package/broadcom-diag/src/diag.c
patch
|
blob
|
history
diff --git
a/package/broadcom-diag/src/diag.c
b/package/broadcom-diag/src/diag.c
index 620f29171cee828de1b9bd9b03d94e69bf1b412b..3a2a69bb149e11911f9d520a13442f8a94cc86ad 100644
(file)
--- 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];