Skip to content
This repository was archived by the owner on Dec 17, 2017. It is now read-only.

Commit 62bda73

Browse files
vgalntAmineKhaldi
authored andcommitted
[USB] Correcting USBPORT_DmaEndpointWorker().
1 parent ce39027 commit 62bda73

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

reactos/drivers/usb/usbohci_new/usbohci.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1788,7 +1788,7 @@ OHCI_GetEndpointState(IN PVOID ohciExtension,
17881788

17891789
if (ED->Flags & 0x10)
17901790
{
1791-
return USBPORT_ENDPOINT_CLOSED;
1791+
return USBPORT_ENDPOINT_REMOVE;
17921792
}
17931793

17941794
if (ED->HwED.EndpointControl.sKip)
@@ -1866,7 +1866,7 @@ OHCI_SetEndpointState(IN PVOID ohciExtension,
18661866
OHCI_EnableList(OhciExtension, OhciEndpoint);
18671867
break;
18681868

1869-
case USBPORT_ENDPOINT_CLOSED:
1869+
case USBPORT_ENDPOINT_REMOVE:
18701870
ED->HwED.EndpointControl.sKip = 1;
18711871
ED->Flags |= 0x10;
18721872
OHCI_RemoveEndpointFromSchedule(OhciEndpoint);

0 commit comments

Comments
 (0)