ixgbe: always call setup_mac_link for multispeed fiber
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 17 May 2017 22:17:51 +0000 (15:17 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 31 May 2017 11:50:41 +0000 (04:50 -0700)
commit08ed48e182ef870517a84d2331c4c5da8f1c3b3a
treeed055af78325a0281aa1984423ecc8c9eca195e7
parent410a494902777c11f95031d9ed757d7f8f09c5c6
ixgbe: always call setup_mac_link for multispeed fiber

Remove the logic which would previously skip the link configuration
in the case where we are already at the requested speed in
ixgbe_setup_mac_link_multispeed_fiber().

By exiting early we are skipping the link configuration and as such
the driver may not always configure the PHY correctly for SFP+.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c