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>
Thu, 25 Oct 2012 16:36:58 +0000 (09:36 -0700)
commit8e512ab0b675da20e023439a5811e3f2554e6852
tree929a1c5f7989a295eb136952724f5bbb29946edb
parent40d04738491d7ac1aa708ba434ff3480ec9e1b96
USB: quatech2: fix close and disconnect urb handling

Kill urbs unconditionally at close and disconnect.

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

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