Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143447
b: refs/heads/master
c: 03a980d
h: refs/heads/master
i:
  143445: ce5dd98
  143443: 216a4d2
  143439: d7b9548
v: v3
  • Loading branch information
Ajit Khaparde authored and David S. Miller committed Apr 13, 2009
1 parent b314b95 commit 845b186
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: a95c2a3b9d6615ef6fad69fbb787a208ad6506b3
refs/heads/master: 03a980d162eb48a79ce21d47f45b9ec7d9db20e9
4 changes: 2 additions & 2 deletions trunk/drivers/net/benet/be_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ be_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *ecmd)

be_cmd_get_flow_control(&adapter->ctrl, &ecmd->tx_pause,
&ecmd->rx_pause);
ecmd->autoneg = AUTONEG_ENABLE;
ecmd->autoneg = 0;
}

static int
Expand All @@ -328,7 +328,7 @@ be_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *ecmd)
struct be_adapter *adapter = netdev_priv(netdev);
int status;

if (ecmd->autoneg != AUTONEG_ENABLE)
if (ecmd->autoneg != 0)
return -EINVAL;

status = be_cmd_set_flow_control(&adapter->ctrl, ecmd->tx_pause,
Expand Down

0 comments on commit 845b186

Please sign in to comment.