Author: tfaber
Date: Sun Jun 25 08:17:33 2017
New Revision: 75194
URL:
http://svn.reactos.org/svn/reactos?rev=75194&view=rev
Log:
[USBPORT]
- Fix setting the direction in USBPORT_OpenPipe. Patch by Vadim Galyant.
Modified:
trunk/reactos/drivers/usb/usbport/endpoint.c
Modified: trunk/reactos/drivers/usb/usbport/endpoint.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbport/endpoi…
==============================================================================
--- trunk/reactos/drivers/usb/usbport/endpoint.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbport/endpoint.c [iso-8859-1] Sun Jun 25 08:17:33 2017
@@ -796,7 +796,7 @@
goto ExitWithError;
}
- Direction = USB_ENDPOINT_DIRECTION_IN(EndpointDescriptor->bEndpointAddress);
+ Direction = USB_ENDPOINT_DIRECTION_OUT(EndpointDescriptor->bEndpointAddress);
EndpointProperties->Direction = Direction;
if (DeviceHandle->IsRootHub)