mirror of
https://github.com/reactos/reactos.git
synced 2025-06-03 08:20:27 +00:00
[USBSTOR]
- USBD_SHORT_TRANSFER_OK is only a valid flag if USBD_TRANSFER_DIRECTION_IN is also set svn path=/branches/usb-bringup-trunk/; revision=55222
This commit is contained in:
parent
8f792f3587
commit
38758cfacb
1 changed files with 2 additions and 2 deletions
|
@ -447,7 +447,7 @@ USBSTOR_CBWCompletionRoutine(
|
|||
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 @@ USBSTOR_SendRequest(
|
|||
Context->cbw,
|
||||
NULL,
|
||||
sizeof(CBW),
|
||||
USBD_TRANSFER_DIRECTION_OUT | USBD_SHORT_TRANSFER_OK,
|
||||
USBD_TRANSFER_DIRECTION_OUT,
|
||||
NULL);
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue