Author: cgutman
Date: Thu Jan 26 19:30:46 2012
New Revision: 55222
URL:
http://svn.reactos.org/svn/reactos?rev=55222&view=rev
Log:
[USBSTOR]
- USBD_SHORT_TRANSFER_OK is only a valid flag if USBD_TRANSFER_DIRECTION_IN is also set
Modified:
branches/usb-bringup-trunk/drivers/usb/usbstor/scsi.c
Modified: branches/usb-bringup-trunk/drivers/usb/usbstor/scsi.c
URL:
http://svn.reactos.org/svn/reactos/branches/usb-bringup-trunk/drivers/usb/u…
==============================================================================
--- branches/usb-bringup-trunk/drivers/usb/usbstor/scsi.c [iso-8859-1] (original)
+++ branches/usb-bringup-trunk/drivers/usb/usbstor/scsi.c [iso-8859-1] Thu Jan 26 19:30:46
2012
@@ -447,7 +447,7 @@
NULL,
Context->TransferBufferMDL,
Context->TransferDataLength,
- ((Code == SCSIOP_WRITE) ?
USBD_TRANSFER_DIRECTION_OUT : USBD_TRANSFER_DIRECTION_IN) | USBD_SHORT_TRANSFER_OK,
+ ((Code == SCSIOP_WRITE) ?
USBD_TRANSFER_DIRECTION_OUT : (USBD_TRANSFER_DIRECTION_IN | USBD_SHORT_TRANSFER_OK)),
NULL);
//
@@ -551,7 +551,7 @@
Context->cbw,
NULL,
sizeof(CBW),
- USBD_TRANSFER_DIRECTION_OUT |
USBD_SHORT_TRANSFER_OK,
+ USBD_TRANSFER_DIRECTION_OUT,
NULL);
//