diff options
| author | Thomas Pugliese <thomas.pugliese@gmail.com> | 2013-12-09 13:10:41 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-09 13:26:35 -0800 |
| commit | 7005234c18f233d3613b09e9ce4b6ce6977bf246 (patch) | |
| tree | 6612b7a847c145ff7b27ab469c2dc6f885f28bc1 /net/lapb/lapb_timer.c | |
| parent | e0e6a356a0b41375b729c511caa99d3ec019640e (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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
