Skip to content

Commit

Permalink
Fix reset failure (typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
dewyatt authored and dewyatt committed May 16, 2012
1 parent 7411c0b commit 447429a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/net/bnx2.c
Expand Up @@ -158,7 +158,7 @@ static int bnx2_reset ( struct bnx2_nic *bnx2 ) {
udelay ( 50 );
value = readl ( bnx2->regs + BNX2_PCICFG_MISC_CONFIG );
if ( ( value & ( BNX2_PCICFG_MISC_CONFIG_CORE_RST_REQ |
BNX2_PCICFG_MISC_CONFIG_CORE_RST_BSY ) ) == 0 )
BNX2_PCICFG_MISC_CONFIG_CORE_RST_BSY ) ) != 0 )
return -EBUSY;

return 0;
Expand Down

0 comments on commit 447429a

Please sign in to comment.