Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266429
b: refs/heads/master
c: 860502b
h: refs/heads/master
i:
  266427: db20eab
v: v3
  • Loading branch information
Mika Lansirinne authored and Jeff Kirsher committed Oct 5, 2011
1 parent e33edd1 commit 45d5596
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 837617a580d5b61ca7a0a0cfe74ba9276e94c0ed
refs/heads/master: 860502bf68bae1ab126fe25a72d038c6e205dedd
8 changes: 1 addition & 7 deletions trunk/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,13 +372,7 @@ static void ixgbe_get_pauseparam(struct net_device *netdev,
struct ixgbe_adapter *adapter = netdev_priv(netdev);
struct ixgbe_hw *hw = &adapter->hw;

/*
* Flow Control Autoneg isn't on if
* - we didn't ask for it OR
* - it failed, we know this by tx & rx being off
*/
if (hw->fc.disable_fc_autoneg ||
(hw->fc.current_mode == ixgbe_fc_none))
if (hw->fc.disable_fc_autoneg)
pause->autoneg = 0;
else
pause->autoneg = 1;
Expand Down

0 comments on commit 45d5596

Please sign in to comment.