diff options
author | Ming Lei <ming.lei@canonical.com> | 2013-04-11 00:40:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-11 15:57:17 -0400 |
commit | 0162c55463057196346e7b53f83b5b53a47a32cc (patch) | |
tree | 4be4147c36394a113081309fe9454e05b1486cf5 /drivers/net/usb/usbnet.c | |
parent | 9ef2c441607152c124802b8cb6022119e4bdc20e (diff) |
usbnet: apply usbnet_link_change
Use usbnet_link_change to handle link change centrally.
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/usbnet.c')
-rw-r--r-- | drivers/net/usb/usbnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c index 40e4237b0a3a..34e425264a7a 100644 --- a/drivers/net/usb/usbnet.c +++ b/drivers/net/usb/usbnet.c | |||
@@ -1521,7 +1521,7 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod) | |||
1521 | netif_device_attach (net); | 1521 | netif_device_attach (net); |
1522 | 1522 | ||
1523 | if (dev->driver_info->flags & FLAG_LINK_INTR) | 1523 | if (dev->driver_info->flags & FLAG_LINK_INTR) |
1524 | netif_carrier_off(net); | 1524 | usbnet_link_change(dev, 0, 0); |
1525 | 1525 | ||
1526 | return 0; | 1526 | return 0; |
1527 | 1527 | ||