ixgbe: fix ixgbe_fc_autoneg_fiber bug
authorDon Skidmore <donald.c.skidmore@intel.com>
Thu, 28 Jul 2011 01:00:58 +0000 (01:00 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 29 Aug 2011 08:31:46 +0000 (01:31 -0700)
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>

No differences found