]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: quatech2: fix io after disconnect
authorJohan Hovold <jhovold@gmail.com>
Thu, 25 Oct 2012 08:29:10 +0000 (10:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 17:10:16 +0000 (10:10 -0700)
commit38e602db5db176e642d66ab7bffabec143edc2f3
treec9333c1d9df05afacbc49db9da9c4aa8754b81c6
parentf5c21b3815667aeae65a3ec56576294c5ed751e6
USB: quatech2: fix io after disconnect

commit 2f0295adf6438188c4cd0868f2b1976a2b034e1d upstream.

Make sure no control urb is submitted during close after a disconnect by
checking the disconnected flag.

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