aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/virtio_net.c')
-rw-r--r--drivers/net/virtio_net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index 3d0033920224..a6f1e19159d8 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -953,6 +953,7 @@ static int virtnet_probe(struct virtio_device *vdev)
953 953
954 vi->status = VIRTIO_NET_S_LINK_UP; 954 vi->status = VIRTIO_NET_S_LINK_UP;
955 virtnet_update_status(vi); 955 virtnet_update_status(vi);
956 netif_carrier_on(dev);
956 957
957 pr_debug("virtnet: registered device %s\n", dev->name); 958 pr_debug("virtnet: registered device %s\n", dev->name);
958 return 0; 959 return 0;