mirror of
https://github.com/reactos/reactos.git
synced 2025-06-11 04:47:22 +00:00
[USBPORT]
- Fix setting the direction in USBPORT_OpenPipe. Patch by Vadim Galyant. svn path=/trunk/; revision=75194
This commit is contained in:
parent
9cb674f17f
commit
db0b0e9ee3
1 changed files with 1 additions and 1 deletions
|
@ -796,7 +796,7 @@ USBPORT_OpenPipe(IN PDEVICE_OBJECT FdoDevice,
|
||||||
goto ExitWithError;
|
goto ExitWithError;
|
||||||
}
|
}
|
||||||
|
|
||||||
Direction = USB_ENDPOINT_DIRECTION_IN(EndpointDescriptor->bEndpointAddress);
|
Direction = USB_ENDPOINT_DIRECTION_OUT(EndpointDescriptor->bEndpointAddress);
|
||||||
EndpointProperties->Direction = Direction;
|
EndpointProperties->Direction = Direction;
|
||||||
|
|
||||||
if (DeviceHandle->IsRootHub)
|
if (DeviceHandle->IsRootHub)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue