alistair23-linux/drivers/usb/mon
Pete Zaitcev b17ea167c5 usbmon: correct length for isochronous
Usually the usbmon returns the amount of data specified in
urb->transfer_buffer_length for output submissions and urb->actual_length
for input callbacks. However, for Isochronous input transfers, this is
not enough, since the returned data buffer may contain "holes".

One easy way to fix this is to use urb->transfer_buffer_length,
but this often transfers a whole lot of unused data, so we find
how much was actually used instead.

Original patch by Márton Németh. See also kernel bug 22182.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-11-30 16:44:54 -08:00
..
Kconfig
Makefile usb: makefile cleanup 2010-10-22 10:22:07 -07:00
mon_bin.c usbmon: correct length for isochronous 2010-11-30 16:44:54 -08:00
mon_main.c drivers/usb: Remove unnecessary return's from void functions 2010-08-10 14:25:42 +02:00
mon_stat.c drivers: Push down BKL into various drivers 2010-05-17 05:27:41 +02:00
mon_text.c USB: Change the scatterlist type in struct urb 2010-05-20 13:21:41 -07:00
usb_mon.h