usbnet: introduce usbnet_link_change API
authorMing Lei <ming.lei@canonical.com>
Thu, 11 Apr 2013 04:40:30 +0000 (04:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Apr 2013 19:57:16 +0000 (15:57 -0400)
commitac64995da872c8ae6f74a5556fdad565829985b0
tree31f97306b10b4b78dafac1a383b76189c5f81017
parent763eff57de893a27f8f18855f17033c92598c423
usbnet: introduce usbnet_link_change API

This patch introduces the API of usbnet_link_change, so that
usbnet can handle link change centrally, which may help to
implement killing traffic URBs for saving USB bus bandwidth
and host controller power.

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/usbnet.c
include/linux/usb/usbnet.h