netdev: Make ethtool_ops::set_flags() return -EINVAL for unsupported flags
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 30 Jun 2010 02:46:56 +0000 (02:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jun 2010 21:09:36 +0000 (14:09 -0700)
The documented error code for attempts to set unsupported flags (or
to clear flags that cannot be disabled) is EINVAL, not EOPNOTSUPP.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Acked-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found