commit | 5f8629c526b4f7e529a6d27bbd802c0dc7fcc357 | [log] [tgz] |
---|---|---|
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | Thu Apr 21 13:59:21 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 21 17:21:43 2011 -0700 |
tree | cab14d913c195769820bfe3a9fe08325e67cf96b | |
parent | 470078312515f12e7cd916f1bd002acad313b9c8 [diff] |
net: fix hw_features ethtool_ops->set_flags compatibility __ethtool_set_flags() was not taking into account features set but not user-toggleable. Since GFLAGS returns masked dev->features, EINVAL is returned when passed flags differ to it, and not to wanted_features. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>