USB: serial: sierra driver read path bug fix
commitb0cda8c5f7b652c6c27bcb3891d174534d2f1a91
authorElina Pasheva <epasheva@sierrawireless.com>
Wed, 29 Apr 2009 17:29:21 +0000 (29 10:29 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:45 +0000 (15 21:44 -0700)
tree8f72962f8fb4bc88e8d21dda0369fe4e08169d2a
parent40d2ff32f102e69d482480265ec60ffb86b028de
USB: serial: sierra driver read path bug fix

This patch fixes a problem in function sierra_indat_callback() which
would stop receiving traffic from a modem if a number of URB failures
occur.  Failed URBs are not resubmitted for the next read and there is
only a limited number of URBs allocated for the IN path. After this
number of failures, the receive path stops working on a particular
interface.

Signed-off-by: Elina Pasheva <epasheva@sierrawireless.com>
drivers/usb/serial/sierra.c