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)
commit6c1ee66a0b2bdbd64c078fba684d640cf2fd38a9
tree953db5d4da2f4dbbe95cd687a46cca04f78d5e71
parentec58fad1feb76c323ef47efff1d1e8660ed4644c
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