]> git.proxmox.com Git - mirror_qemu.git/commit - hw/usb/redirect.c
usb-redir: simplify packet copy
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 24 Jan 2013 14:40:37 +0000 (15:40 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 19 Feb 2013 11:30:05 +0000 (12:30 +0100)
commit6ef3ccd18f881a7bece556ff0fe1b0bf70ac2262
tree5d113575ffaf395de7140adc16e8e28d1c24213b
parent6a98d1c0f9e4f6a95d6ecd730ae6fdc70d15c73f
usb-redir: simplify packet copy

usb_packet_copy can handle combined packets now,
so it isn't needed to special-case them any more.

Also use the new usb_packet_size() function.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/redirect.c