summaryrefslogtreecommitdiff
path: root/hw/usb/dump.h
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-03-15 19:11:35 +0100
committerPeter Wu <peter@lekensteyn.nl>2014-03-16 00:10:06 +0100
commit8338d28302fad8e8abc00fcb36751b9728f746b2 (patch)
treec7527049d93713a07a480076ad02222d2bf0c51a /hw/usb/dump.h
parent94a49b505d904ee976d999364bf19945eac7b991 (diff)
downloadqemu-8338d28302fad8e8abc00fcb36751b9728f746b2.tar.gz
usbdump: fix reversal of URB length and captured length
The "length" field stores the expected size of data. "len_cap" stores the real length of the data in the current packet (the "captured" data). Also try to set a slightly more sane length value depending on submission type, but this is much braindead. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'hw/usb/dump.h')
0 files changed, 0 insertions, 0 deletions