ixgbe: Fix incorrect logic for fixed fiber eeprom write
authorDon Skidmore <donald.c.skidmore@intel.com>
Thu, 16 Jan 2014 10:30:10 +0000 (02:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jan 2014 23:34:25 +0000 (15:34 -0800)
commitd3cec927ef9f5783b5658e27401425fda4a2d4d9
tree39d0ca38a98f9ca6690b5653f1dc79108e473c9d
parentde02decb33e176c1befc4d0f19c11a334b31f1ea
ixgbe: Fix incorrect logic for fixed fiber eeprom write

In this code we wanted to set the bit in IXGBE_SFF_SOFT_RS_SELECT_MASK to
the value in rs.  So we really needed a logical or rather than an and, this
patch makes that change.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c