]> git.proxmox.com Git - mirror_qemu.git/commit
xhci: Fix remainder field for TR_SETUP completion event.
authorHans Petter Selasky <hps@selasky.org>
Tue, 23 Aug 2016 11:39:49 +0000 (13:39 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 13 Sep 2016 07:07:18 +0000 (09:07 +0200)
commitb66ad1f1aa4dba4e8e242ad8339dd01f4ee77c5e
tree485160e66fbdcba8a2fe7bdce44a5aae15f2f883
parent7263da78045dc91cc207f350911efe4259e99b3c
xhci: Fix remainder field for TR_SETUP completion event.

Previously the code would incorrectly report the remainder as 8 bytes. A
remainder of 0 bytes should be reported when the SETUP packet is
successfully transferred. Found using FreeBSD's XHCI driver.

Signed-off-by: Hans Petter Selasky <hps@selasky.org>
[ kraxel: codestyle fixup ]

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