]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: quatech2: fix close and disconnect urb handling
authorJohan Hovold <jhovold@gmail.com>
Thu, 25 Oct 2012 08:29:09 +0000 (10:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 17:10:16 +0000 (10:10 -0700)
commitf5c21b3815667aeae65a3ec56576294c5ed751e6
treebbcacc705bad0f13740bfb5b45ecf568ee46924f
parentb7e9cee3e7062435521dd933ce2349a2d721e596
USB: quatech2: fix close and disconnect urb handling

commit 8e512ab0b675da20e023439a5811e3f2554e6852 upstream.

Kill urbs unconditionally at close and disconnect.

Note that URB status is not valid outside of completion handler.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/quatech2.c