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

commit 2ee44fbeac92c36e53779a57ee84cfee1affe418 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/metro-usb.c