]> git.baikalelectronics.ru Git - kernel.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>
Thu, 25 Oct 2012 16:36:57 +0000 (09:36 -0700)
commit2a2285e690c57f75329969fb07d7ed6088aa47ea
tree2af799d3fe59dc19fc994e65f71a7d4d505c9ada
parent635a96e30c6240ba7656fc23bacd7bf76720da2c
USB: metro-usb: 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/metro-usb.c