]> git.proxmox.com Git - qemu.git/commit - usb-linux.c
usb-linux: fix max_packet_size for highspeed.
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 16 May 2011 09:30:57 +0000 (11:30 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 26 May 2011 09:55:02 +0000 (11:55 +0200)
commit6dfcdccb09b98dff758b31811d1433b11cc9aaa1
tree3beba1bd5d7de985d0b4870646f07c73465ebb6c
parent71138531d3b19a211d63170d78592513f14ae59b
usb-linux: fix max_packet_size for highspeed.

Calculate the max packet size correctly.  Only bits 0..11 specify the size,
bits 11+12 specify the number of (highspeed) microframes the endpoint wants
to use.

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