usb: wusbcore: set packet count correctly on isoc transfers
authorThomas Pugliese <thomas.pugliese@gmail.com>
Mon, 9 Dec 2013 20:15:15 +0000 (14:15 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 21:29:21 +0000 (13:29 -0800)
commit756a2eed67e61e9596c2b49a787441c2e0daf1e1
tree559053ae55ed079ba7f5875153e2c66af5e88001
parentea1af42d3d4da73c9d75984f24e569515261b3fd
usb: wusbcore: set packet count correctly on isoc transfers

This patch correctly sets the dwNumOfPackets field of the HWA transfer
request for isochronous transfers with multiple segments.  Previously
all segments used the value that was set for the first segment which may
not be correct.

Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/wusbcore/wa-xfer.c