diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c index db255fc37863..10ea29f66405 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | |||
@@ -372,13 +372,7 @@ static void ixgbe_get_pauseparam(struct net_device *netdev, | |||
372 | struct ixgbe_adapter *adapter = netdev_priv(netdev); | 372 | struct ixgbe_adapter *adapter = netdev_priv(netdev); |
373 | struct ixgbe_hw *hw = &adapter->hw; | 373 | struct ixgbe_hw *hw = &adapter->hw; |
374 | 374 | ||
375 | /* | 375 | if (hw->fc.disable_fc_autoneg) |
376 | * Flow Control Autoneg isn't on if | ||
377 | * - we didn't ask for it OR | ||
378 | * - it failed, we know this by tx & rx being off | ||
379 | */ | ||
380 | if (hw->fc.disable_fc_autoneg || | ||
381 | (hw->fc.current_mode == ixgbe_fc_none)) | ||
382 | pause->autoneg = 0; | 376 | pause->autoneg = 0; |
383 | else | 377 | else |
384 | pause->autoneg = 1; | 378 | pause->autoneg = 1; |