]> 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)
commit01c1f2d5e10eb8701fd4fcece9b96fb9a9cb4041
tree953db5d4da2f4dbbe95cd687a46cca04f78d5e71
parentd9373c6730a2b83d1c6f4c1036d80aad653dd9f0
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