From db0b0e9ee31c3c420ed27379a54ba1a425511dac Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sun, 25 Jun 2017 08:17:33 +0000 Subject: [PATCH] [USBPORT] - Fix setting the direction in USBPORT_OpenPipe. Patch by Vadim Galyant. svn path=/trunk/; revision=75194 --- reactos/drivers/usb/usbport/endpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/drivers/usb/usbport/endpoint.c b/reactos/drivers/usb/usbport/endpoint.c index 355d36ea974..b0ec684f6c9 100644 --- a/reactos/drivers/usb/usbport/endpoint.c +++ b/reactos/drivers/usb/usbport/endpoint.c @@ -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) -- 2.17.1