diff options
author | Ming Lei <ming.lei@canonical.com> | 2013-04-11 04:40:39 +0000 |
---|---|---|
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) | |
download | talos-op-linux-0162c55463057196346e7b53f83b5b53a47a32cc.tar.gz talos-op-linux-0162c55463057196346e7b53f83b5b53a47a32cc.zip |
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) netif_device_attach (net); if (dev->driver_info->flags & FLAG_LINK_INTR) - netif_carrier_off(net); + usbnet_link_change(dev, 0, 0); return 0; |