summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/urb.c
diff options
context:
space:
mode:
authorThomas Pugliese <thomas.pugliese@gmail.com>2013-12-09 13:10:41 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-09 13:26:35 -0800
commit7005234c18f233d3613b09e9ce4b6ce6977bf246 (patch)
tree6612b7a847c145ff7b27ab469c2dc6f885f28bc1 /drivers/usb/core/urb.c
parente0e6a356a0b41375b729c511caa99d3ec019640e (diff)
usb: wusbcore: fix short transfers
If a URB is broken up into multiple transfer segments and a short transfer occurs in any segment other than the last, the URB will currently get stuck in the driver forever. This patch adds a check for a short transfer and cleans up any pending segments so the URB can complete properly. Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core/urb.c')
0 files changed, 0 insertions, 0 deletions