aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv/netvsc_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/hyperv/netvsc_drv.c')
-rw-r--r--drivers/net/hyperv/netvsc_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c
index 1de3ef5dd5d2..2e967a7bdb33 100644
--- a/drivers/net/hyperv/netvsc_drv.c
+++ b/drivers/net/hyperv/netvsc_drv.c
@@ -810,7 +810,7 @@ static int netvsc_probe(struct hv_device *dev,
810 net->features = NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_SG | NETIF_F_RXCSUM | 810 net->features = NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_SG | NETIF_F_RXCSUM |
811 NETIF_F_IP_CSUM | NETIF_F_TSO; 811 NETIF_F_IP_CSUM | NETIF_F_TSO;
812 812
813 SET_ETHTOOL_OPS(net, &ethtool_ops); 813 net->ethtool_ops = &ethtool_ops;
814 SET_NETDEV_DEV(net, &dev->device); 814 SET_NETDEV_DEV(net, &dev->device);
815 815
816 /* Notify the netvsc driver of the new device */ 816 /* Notify the netvsc driver of the new device */