projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ef2c44
)
usbnet: apply usbnet_link_change
author
Ming Lei
<ming.lei@canonical.com>
Thu, 11 Apr 2013 04:40:39 +0000
(
04:40
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 11 Apr 2013 19:57:17 +0000
(15:57 -0400)
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>
drivers/net/usb/usbnet.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/usb/usbnet.c
b/drivers/net/usb/usbnet.c
index 40e4237b0a3a13e29df690e9ef6fd02e7e220894..34e425264a7a20f841487c3a949deb3b7abbaf20 100644
(file)
--- 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;