public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Brice Goglin <brice@myri•com>
To: "David S. Miller" <davem@davemloft•net>
Cc: Linux Network Development list <netdev@vger•kernel.org>,
	"Andrew J. Gallatin" <gallatin@myri•com>
Subject: [PATCH] myri10ge: fix rx_pause in myri10ge_set_pauseparam
Date: Sun, 04 Apr 2010 17:19:00 +0200	[thread overview]
Message-ID: <4BB8ADE4.5090304@myri.com> (raw)

Fix rx_pause in myri10ge_set_pauseparam().

Signed-off-by: Brice Goglin <brice@myri•com>

diff --git a/drivers/net/myri10ge/myri10ge.c
b/drivers/net/myri10ge/myri10ge.c
index e84dd3e..3cb7607 100644
--- a/drivers/net/myri10ge/myri10ge.c
+++ b/drivers/net/myri10ge/myri10ge.c
@@ -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;


             reply	other threads:[~2010-04-04 15:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-04 15:19 Brice Goglin [this message]
2010-04-08  4:26 ` [PATCH] myri10ge: fix rx_pause in myri10ge_set_pauseparam David Miller
2010-04-08  5:21 ` Brice Goglin
2010-04-08  5:23   ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BB8ADE4.5090304@myri.com \
    --to=brice@myri$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=gallatin@myri$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox