vmxnet3: fail when try to setup unsupported features
authorStanislaw Gruszka <sgruszka@redhat.com>
Sun, 27 Jun 2010 23:29:42 +0000 (23:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jun 2010 07:53:26 +0000 (00:53 -0700)
commitd92be4b1661be0cef5f277f10078c71c166f16ad
tree0f14bef6119ef4e36e581fe155a7f557c653c8db
parent52b6dcfe59d73347a598ba0826a6191a1e497679
vmxnet3: fail when try to setup unsupported features

Return EOPNOTSUPP in ethtool_ops->set_flags.

Fix coding style while at it.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_ethtool.c