commit | 53f096de3a2d04dc034b9dbcb160c6448960309d | [log] [tgz] |
---|---|---|
author | Don Skidmore <donald.c.skidmore@intel.com> | Thu Jul 28 01:00:58 2011 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Mon Aug 29 01:31:46 2011 -0700 |
tree | 52a1cfb3679315c6610536f0dd921e9d80e1b2f8 | |
parent | 6a864abbcea970de2ac3afaf530c44548e9d42a0 [diff] |
ixgbe: fix ixgbe_fc_autoneg_fiber bug A logic error in ixgbe_fc_autoneg_fiber() that treated a masked u32 as a boolean would make it so we would never fall hit a error check case. So now I force the u32 to a boolean value with '!!'. Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>