net: fix ETHTOOL_SFEATURES compatibility with old ethtool_ops.set_flags
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Thu, 26 May 2011 00:42:57 +0000 (00:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 May 2011 18:13:59 +0000 (14:13 -0400)
Current code squashes flags to bool - this makes set_flags fail whenever
some ETH_FLAG_* equivalent features are set. Fix this.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found