mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:15:00 +02:00
brcm47xx: fix warning introduced in r22516.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22521 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a1fc7ca1b2
commit
8439b23b20
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user