[USBPORT]

- Fix setting the direction in USBPORT_OpenPipe. Patch by Vadim Galyant.

svn path=/trunk/; revision=75194
This commit is contained in:
Thomas Faber 2017-06-25 08:17:33 +00:00
parent 9cb674f17f
commit db0b0e9ee3

View file

@ -796,7 +796,7 @@ USBPORT_OpenPipe(IN PDEVICE_OBJECT FdoDevice,
goto ExitWithError;
}
Direction = USB_ENDPOINT_DIRECTION_IN(EndpointDescriptor->bEndpointAddress);
Direction = USB_ENDPOINT_DIRECTION_OUT(EndpointDescriptor->bEndpointAddress);
EndpointProperties->Direction = Direction;
if (DeviceHandle->IsRootHub)