diff options
Diffstat (limited to 'drivers/net/usb/usbnet.c')
-rw-r--r-- | drivers/net/usb/usbnet.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c index 378da8c938fe..04f3f289e87c 100644 --- a/drivers/net/usb/usbnet.c +++ b/drivers/net/usb/usbnet.c | |||
@@ -1352,9 +1352,11 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod) | |||
1352 | // ok, it's ready to go. | 1352 | // ok, it's ready to go. |
1353 | usb_set_intfdata (udev, dev); | 1353 | usb_set_intfdata (udev, dev); |
1354 | 1354 | ||
1355 | // start as if the link is up | ||
1356 | netif_device_attach (net); | 1355 | netif_device_attach (net); |
1357 | 1356 | ||
1357 | if (dev->driver_info->flags & FLAG_LINK_INTR) | ||
1358 | netif_carrier_off(net); | ||
1359 | |||
1358 | return 0; | 1360 | return 0; |
1359 | 1361 | ||
1360 | out3: | 1362 | out3: |