]> git.ipfire.org Git - thirdparty/qemu.git/commit
uhci: Don't queue up packets after one with the SPD flag set
authorHans de Goede <hdegoede@redhat.com>
Wed, 12 Sep 2012 13:08:40 +0000 (15:08 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 12 Oct 2012 02:44:17 +0000 (21:44 -0500)
commit2ee160f8e19dc6d1fd0860f37b8929f16f072eb2
tree32745322ea76f349294ab531cfdfc182488e5de8
parent981e213cf7a6309f0fcfeadf4b784ce27b1d505d
uhci: Don't queue up packets after one with the SPD flag set

Don't queue up packets after a packet with the SPD (short packet detect)
flag set. Since we won't know if the packet will actually be short until it
has completed, and if it is short we should stop the queue.

This fixes a miniature photoframe emulating a USB cdrom with the windows
software for it not working.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 72a04d0c178f01908d74539230d9de64ffc6da19)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/usb/hcd-uhci.c