]> git.openfabrics.org - ~shefty/rdma-dev.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>
Thu, 25 Oct 2012 16:36:58 +0000 (09:36 -0700)
commit2f0295adf6438188c4cd0868f2b1976a2b034e1d
treed9e1ee413e1bbaaf4b2e5e44d9b3fd79de3a4b86
parent8e512ab0b675da20e023439a5811e3f2554e6852
USB: quatech2: fix io after disconnect

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

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