diff options
-rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c index 4e59083a3de2..e39df2203add 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c | |||
@@ -779,7 +779,8 @@ static s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, | |||
779 | ixgbe_link_speed link_capabilities = IXGBE_LINK_SPEED_UNKNOWN; | 779 | ixgbe_link_speed link_capabilities = IXGBE_LINK_SPEED_UNKNOWN; |
780 | 780 | ||
781 | /* Check to see if speed passed in is supported. */ | 781 | /* Check to see if speed passed in is supported. */ |
782 | hw->mac.ops.get_link_capabilities(hw, &link_capabilities, &autoneg); | 782 | status = hw->mac.ops.get_link_capabilities(hw, &link_capabilities, |
783 | &autoneg); | ||
783 | if (status != 0) | 784 | if (status != 0) |
784 | goto out; | 785 | goto out; |
785 | 786 | ||