]> git.ipfire.org Git - thirdparty/qemu.git/commit
uhci: Move checks to continue queuing to uhci_fill_queue()
authorHans de Goede <hdegoede@redhat.com>
Wed, 24 Oct 2012 16:13:58 +0000 (18:13 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 25 Oct 2012 07:08:08 +0000 (09:08 +0200)
commit7c2eaca4efa46e02caaec4ca7ddf05a6e461da94
treea59fcec676b1f1c4ba6438636db145fa28ec7666
parent00a0770de3ddb803a0f81f6aea40b0f945154a68
uhci: Move checks to continue queuing to uhci_fill_queue()

Rather then having a special check to start queuing after the first packet,
and then another check for the other packets in uhci_fill_queue(), simply
check the previous packet beforehand in uhci_fill_queue()

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-uhci.c