usbnet: Resubmit interrupt URB if device is open
authorPaul Stewart <pstew@chromium.org>
Thu, 28 Apr 2011 05:43:37 +0000 (05:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Apr 2011 19:56:09 +0000 (12:56 -0700)
commit68972efa657040f891c7eda07c7da8c8dd576788
tree56e451d2101c37802fa043e41f55b8b5daad6b82
parent7833aa05b8db63484b43b4b4c389cd4533140afb
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>
drivers/net/usb/usbnet.c
include/linux/usb/usbnet.h