]> git.baikalelectronics.ru Git - kernel.git/commit
USB: option.c: option_indat_callback: Resubmit some unsuccessful URBs
authorJames Maki <jamescmaki@gmail.com>
Sun, 21 Mar 2010 17:53:59 +0000 (12:53 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:35 +0000 (13:21 -0700)
commit812ed0ebfd1d945b945f7e420ee84b2ed99e3bd4
tree3b64a4822cc702b49c57d9ca2223d213fba3525f
parent4ad382e8ded2dfdf516239fbd6e81e0cc65e00c2
USB: option.c: option_indat_callback: Resubmit some unsuccessful URBs

All unsuccessful (non-zero status) URBs were being dropped. After N_IN_URBs are
dropped you will no longer be able to receive data.

This patch resubmits unsuccessful URBs unless the status indicates that it should
be terminated. The statuses that indicate the URB should be terminated was
gathered from other similar drivers.

Signed-off-by: James Maki <jamescmaki@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/option.c