projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6929869
)
myri10ge: fix rx_pause in myri10ge_set_pauseparam
author
Brice Goglin
<brice@myri.com>
Thu, 8 Apr 2010 05:23:45 +0000
(22:23 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 8 Apr 2010 05:23:45 +0000
(22:23 -0700)
Fix rx_pause management in myri10ge_set_pauseparam().
Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/myri10ge/myri10ge.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/myri10ge/myri10ge.c
b/drivers/net/myri10ge/myri10ge.c
index e84dd3ee9c5aa72fa227b4afca14c4a59dd76c40..3cb760706c012f5a2a2ddf1529f3ebbfba7a07d6 100644
(file)
--- 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->
t
x_pause);
+ return myri10ge_change_pause(mgp, pause->
r
x_pause);
if (pause->autoneg != 0)
return -EINVAL;
return 0;