projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[USBSTOR]
[reactos.git]
/
drivers
/
usb
/
usbstor
/
scsi.c
diff --git
a/drivers/usb/usbstor/scsi.c
b/drivers/usb/usbstor/scsi.c
index
62c25de
..
5e80749
100644
(file)
--- a/
drivers/usb/usbstor/scsi.c
+++ b/
drivers/usb/usbstor/scsi.c
@@
-447,7
+447,7
@@
USBSTOR_CBWCompletionRoutine(
NULL,
Context->TransferBufferMDL,
Context->TransferDataLength,
-
USBD_TRANSFER_DIRECTION_IN
| USBD_SHORT_TRANSFER_OK,
+
((Code == SCSIOP_WRITE) ? USBD_TRANSFER_DIRECTION_OUT : USBD_TRANSFER_DIRECTION_IN)
| USBD_SHORT_TRANSFER_OK,
NULL);
//