diff options
author | Paul Stewart <pstew@chromium.org> | 2011-04-28 05:43:37 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-28 12:56:09 -0700 |
commit | 68972efa657040f891c7eda07c7da8c8dd576788 (patch) | |
tree | 56e451d2101c37802fa043e41f55b8b5daad6b82 /include/linux | |
parent | 7833aa05b8db63484b43b4b4c389cd4533140afb (diff) | |
download | linux-68972efa657040f891c7eda07c7da8c8dd576788.tar.gz linux-68972efa657040f891c7eda07c7da8c8dd576788.tar.bz2 linux-68972efa657040f891c7eda07c7da8c8dd576788.zip |
usbnet: Resubmit interrupt URB if device is open
Resubmit interrupt URB if device is open. Use a flag set in
usbnet_open() to determine this state. Also kill and free
interrupt URB in usbnet_disconnect().
[Rebased off git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git]
Signed-off-by: Paul Stewart <pstew@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/usb/usbnet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h index 0e1855079fbb..605b0aa8d852 100644 --- a/include/linux/usb/usbnet.h +++ b/include/linux/usb/usbnet.h @@ -68,6 +68,7 @@ struct usbnet { # define EVENT_RX_PAUSED 5 # define EVENT_DEV_WAKING 6 # define EVENT_DEV_ASLEEP 7 +# define EVENT_DEV_OPEN 8 }; static inline struct usb_driver *driver_of(struct usb_interface *intf) |