Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278516
b: refs/heads/master
c: 4a2db50
h: refs/heads/master
v: v3
  • Loading branch information
Matt Carlson authored and David S. Miller committed Dec 9, 2011
1 parent 6eaf334 commit d91f614
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 859edb2631c31813e63cbff7a81ced4f853b63ed
refs/heads/master: 4a2db503c57f7223d851dc7ab8cefca614e0d98a
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/broadcom/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -10596,12 +10596,12 @@ static void tg3_get_pauseparam(struct net_device *dev, struct ethtool_pauseparam

epause->autoneg = !!tg3_flag(tp, PAUSE_AUTONEG);

if (tp->link_config.active_flowctrl & FLOW_CTRL_RX)
if (tp->link_config.flowctrl & FLOW_CTRL_RX)
epause->rx_pause = 1;
else
epause->rx_pause = 0;

if (tp->link_config.active_flowctrl & FLOW_CTRL_TX)
if (tp->link_config.flowctrl & FLOW_CTRL_TX)
epause->tx_pause = 1;
else
epause->tx_pause = 0;
Expand Down

0 comments on commit d91f614

Please sign in to comment.