Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5065cc02 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
parents 8f5bb043 fa04ae5c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)))