]> git.baikalelectronics.ru Git - kernel.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>
Thu, 25 Oct 2012 16:36:58 +0000 (09:36 -0700)
commit3c02c73af2b54a225f9d35e4b2b2297e6b7b94b3
tree929a1c5f7989a295eb136952724f5bbb29946edb
parent6f2e5f38621dd836b79bbcdf1e64337844721087
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