myri10ge: fix rx_pause in myri10ge_set_pauseparam
Subsystems (2)
PATCH 1/1 myri10ge: fix rx_pause in myri10ge_set_pauseparam
Fix rx_pause in myri10ge_set_pauseparam().
Signed-off-by Brice Goglin <[email protected]>
(quoted diff) +0 -0
b/drivers/net/myri10ge/myri10ge.c
index e84dd3e..3cb7607 100644
drivers/net/myri10ge/myri10ge.c +1 -1
@@ -1689,7 +1689,7 @@ myri10ge_set_pauseparam(struct net_device *netdev,if (pause->tx_pause != mgp->pause)return myri10ge_change_pause (mgp, pause->tx_pause);if (pause->rx_pause != mgp->pause) -return myri10ge_change_pause (mgp, pause->tx_pause); +return myri10ge_change_pause (mgp, pause->rx_pause);if (pause->autoneg !=0 )return -EINVAL ;return 0 ;
David Miller
maintainerFrom: Brice Goglin <[email protected]>
Date: Sun, 04 Apr 2010 17:19:00 +0200
Quoted 3 lines
Fix
rx_pauseinmyri10ge_set_pauseparam().Signed-off-by Brice Goglin <[email protected]>
Your patch is tab/whitespace damaged by your email client.
Fix this up and resubmit, thanks.
PATCH 1/1 myri10ge: fix rx_pause in myri10ge_set_pauseparam
In reply to Brice GoglinFix rx_pause management in myri10ge_set_pauseparam().
Signed-off-by Brice Goglin <[email protected]>
drivers/net/myri10ge/myri10ge.c +1 -1
@@ -1689,7 +1689,7 @@ myri10ge_set_pauseparam(struct net_device *netdev,if (pause->tx_pause != mgp->pause)return myri10ge_change_pause (mgp, pause->tx_pause);if (pause->rx_pause != mgp->pause) -return myri10ge_change_pause (mgp, pause->tx_pause); +return myri10ge_change_pause (mgp, pause->rx_pause);if (pause->autoneg !=0 )return -EINVAL ;return 0 ;
From: Brice Goglin <[email protected]>
Date: Thu, 08 Apr 2010 07:21:28 +0200
Quoted 3 lines
Fix
rx_pausemanagement inmyri10ge_set_pauseparam().Signed-off-by Brice Goglin <[email protected]>
Applied, thanks.