mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 16:35:49 +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,
|
NULL,
|
||||||
Context->TransferBufferMDL,
|
Context->TransferBufferMDL,
|
||||||
Context->TransferDataLength,
|
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);
|
NULL);
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -551,7 +551,7 @@ USBSTOR_SendRequest(
|
||||||
Context->cbw,
|
Context->cbw,
|
||||||
NULL,
|
NULL,
|
||||||
sizeof(CBW),
|
sizeof(CBW),
|
||||||
USBD_TRANSFER_DIRECTION_OUT | USBD_SHORT_TRANSFER_OK,
|
USBD_TRANSFER_DIRECTION_OUT,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue