diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-03-15 19:11:35 +0100 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2014-03-16 00:10:06 +0100 |
commit | 8338d28302fad8e8abc00fcb36751b9728f746b2 (patch) | |
tree | c7527049d93713a07a480076ad02222d2bf0c51a /block.c | |
parent | 94a49b505d904ee976d999364bf19945eac7b991 (diff) | |
download | qemu-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 'block.c')
0 files changed, 0 insertions, 0 deletions