]> git.proxmox.com Git - mirror_qemu.git/commit - hw/usb/dev-storage.c
usb-storage: fix SYNCHRONIZE_CACHE
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 13 Jul 2012 09:38:13 +0000 (11:38 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 7 Aug 2012 08:49:06 +0000 (10:49 +0200)
commit54414218d78c9d043417b27bb29bd0334b4e3cb5
tree42bbab7fb2019556f16b166e862b6cc55974c53f
parent06f9847dc3da670c36629c80ae47fea4bf726268
usb-storage: fix SYNCHRONIZE_CACHE

Commit 59310659073d85745854f2f10c4292555c5a1c51 is incomplete,
we'll arrive in the scsi command complete callback in CSW state
and must handle that case correctly.

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