net/ixgbe/base: fix skipping PHY config
authorXiao Wang <xiao.w.wang@intel.com>
Sun, 25 Sep 2016 09:00:15 +0000 (17:00 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commit7834b63510fd3806eef2934ab3c7db1e31afe62f
treed3b64cd8307077dee8a30071024cdab06e7a1b46
parentbd9cd76382856916ace5422fbacfc2e894240c99
net/ixgbe/base: fix skipping PHY config

By exiting early we could skip the PHY configuration and as such
the driver may not configure the PHY correctly for SFP+.

This patch removes the logic which would previously skip the PHY
configuration in the case where we are already at the requested
speed in ixgbe_setup_mac_link_multispeed_fiber().

Fixes: f3430431abaf ("ixgbe/base: add SFP+ dual-speed support")

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/base/ixgbe_common.c