]> git.baikalelectronics.ru Git - kernel.git/commit
USB-Serial: Fix error handling of usb_wwan
authorMatt Burtch <matt@grid-net.com>
Mon, 12 Aug 2013 17:11:39 +0000 (10:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 20:45:26 +0000 (13:45 -0700)
commitd1498ac80faeca4c57b838b9b492c49f27f5c740
tree953db5d4da2f4dbbe95cd687a46cca04f78d5e71
parentc07f15d1abf376007748be3c25c4ad6d19b7f5d9
USB-Serial: Fix error handling of usb_wwan

This fixes an issue where the bulk-in urb used for incoming data transfer
is not resubmitted if the packet recieved contains an error status.  This
results in the driver locking until the port is closed and re-opened.

Tested on a custom board with a Cinterion GSM module.

Signed-off-by: Matt Burtch <matt@grid-net.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/usb_wwan.c