diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-04-28 11:59:15 +1000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-28 13:45:41 -0700 |
commit | b801a4e7092bb869fb5a7d8ee11a9435c5c7b2b1 (patch) | |
tree | b60687ef87ca13cc19d2770a0a4ef0a912c1c606 | |
parent | 89b4208e2861bc7dc325840b44bae302a4e30add (diff) |
net: ibmveth: force reconfiguring checksum settings on startup
Commit b9367bf3ee6d ("net: ibmveth: convert to hw_features") accidentally
removed call to ibmveth_set_csum_offload() in ibmveth_probe(). Put the
call back where it was, but with additional error checking provided
by ibmveth_set_features().
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
[sfr: dev -> netdev]
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ibmveth.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c index 4855f1fdff5..be3fe71b9c9 100644 --- a/drivers/net/ibmveth.c +++ b/drivers/net/ibmveth.c @@ -1397,6 +1397,8 @@ static int __devinit ibmveth_probe(struct vio_dev *dev, netdev_dbg(netdev, "registering netdev...\n"); + ibmveth_set_features(netdev, netdev->features); + rc = register_netdev(netdev); if (rc) { |