From: Thomas Pugliese Date: Mon, 9 Dec 2013 19:10:41 +0000 (-0600) Subject: usb: wusbcore: fix short transfers X-Git-Tag: v3.14-rc1~148^2~130^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7005234c18f233d3613b09e9ce4b6ce6977bf246;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed