From: Michał Mirosław Date: Thu, 28 Apr 2011 01:59:15 +0000 (+1000) Subject: net: ibmveth: force reconfiguring checksum settings on startup X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b801a4e7092bb869fb5a7d8ee11a9435c5c7b2b1;p=linux-beck.git 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 Reported-by: Stephen Rothwell [sfr: dev -> netdev] Signed-off-by: Stephen Rothwell Signed-off-by: David S. Miller --- diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c index 4855f1fdff52..be3fe71b9c90 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) {