aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_ethtool.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_ethtool.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_ethtool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ixgbe/ixgbe_ethtool.c b/drivers/net/ixgbe/ixgbe_ethtool.c
index 1444ec512536..026e94a99849 100644
--- a/drivers/net/ixgbe/ixgbe_ethtool.c
+++ b/drivers/net/ixgbe/ixgbe_ethtool.c
@@ -233,11 +233,11 @@ static int ixgbe_set_settings(struct net_device *netdev,
233 return err; 233 return err;
234 /* this sets the link speed and restarts auto-neg */ 234 /* this sets the link speed and restarts auto-neg */
235 hw->mac.autotry_restart = true; 235 hw->mac.autotry_restart = true;
236 err = hw->mac.ops.setup_link_speed(hw, advertised, true, true); 236 err = hw->mac.ops.setup_link(hw, advertised, true, true);
237 if (err) { 237 if (err) {
238 DPRINTK(PROBE, INFO, 238 DPRINTK(PROBE, INFO,
239 "setup link failed with code %d\n", err); 239 "setup link failed with code %d\n", err);
240 hw->mac.ops.setup_link_speed(hw, old, true, true); 240 hw->mac.ops.setup_link(hw, old, true, true);
241 } 241 }
242 } else { 242 } else {
243 /* in this case we currently only support 10Gb/FULL */ 243 /* in this case we currently only support 10Gb/FULL */