aboutsummaryrefslogtreecommitdiff
path: root/net/core/ethtool.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-06 16:58:53 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-06 16:58:53 -0700
commit5065cc02ccf9212d31ecb7fcd63d734e242e64b1 (patch)
tree7bd0b973ecc31a932a30ca9ab40797e4190d28da /net/core/ethtool.c
parent8f5bb0438b86d1a5393176ceeec2836fd469edf8 (diff)
parentfa04ae5c09f3dfedbc923c2954a9a26a573833f1 (diff)
Merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'net/core/ethtool.c')
-rw-r--r--net/core/ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/ethtool.c b/net/core/ethtool.c
index 8ec484894d6..a3eeb88e1c8 100644
--- a/net/core/ethtool.c
+++ b/net/core/ethtool.c
@@ -356,7 +356,7 @@ static int ethtool_set_coalesce(struct net_device *dev, void __user *useraddr)
{
struct ethtool_coalesce coalesce;
- if (!dev->ethtool_ops->get_coalesce)
+ if (!dev->ethtool_ops->set_coalesce)
return -EOPNOTSUPP;
if (copy_from_user(&coalesce, useraddr, sizeof(coalesce)))