aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-msd.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-05-26 21:53:41 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-05-26 21:53:41 +0000
commit0fc5c15a4fad2dac00126c802554d9ca33c4ccc7 (patch)
treeebd1750330549b256692db5d2613c5d259f5d8d5 /hw/usb-msd.c
parentcac782d496c0160aba9ae8df53a3504599a4c721 (diff)
downloadqemu-0fc5c15a4fad2dac00126c802554d9ca33c4ccc7.zip
qemu-0fc5c15a4fad2dac00126c802554d9ca33c4ccc7.tar.gz
qemu-0fc5c15a4fad2dac00126c802554d9ca33c4ccc7.tar.bz2
SCSI lun probing fix.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1945 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/usb-msd.c')
-rw-r--r--hw/usb-msd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb-msd.c b/hw/usb-msd.c
index 6b4cb81..bcca6d4 100644
--- a/hw/usb-msd.c
+++ b/hw/usb-msd.c
@@ -295,7 +295,7 @@ static int usb_msd_handle_data(USBDevice *dev, int pid, uint8_t devep,
}
DPRINTF("Command tag 0x%x flags %08x len %d data %d\n",
s->tag, cbw.flags, cbw.cmd_len, s->data_len);
- scsi_send_command(s->scsi_dev, s->tag, cbw.cmd);
+ scsi_send_command(s->scsi_dev, s->tag, cbw.cmd, 0);
ret = len;
break;