mirror of
https://github.com/reactos/reactos.git
synced 2024-07-31 08:39:05 +00:00
[LIBUSB]
- Fix a typo'd function name svn path=/trunk/; revision=63667
This commit is contained in:
parent
23b20f6a50
commit
6916c31c9e
|
@ -111,7 +111,7 @@ protected:
|
||||||
|
|
||||||
|
|
||||||
//Internal Functions
|
//Internal Functions
|
||||||
BOOLEAN QueryStatusChageEndpoint(PIRP Irp);
|
BOOLEAN QueryStatusChangeEndpoint(PIRP Irp);
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
@ -286,7 +286,7 @@ CHubController::Initialize(
|
||||||
// Queries the ports to see if there has been a device connected or removed.
|
// Queries the ports to see if there has been a device connected or removed.
|
||||||
//
|
//
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
CHubController::QueryStatusChageEndpoint(
|
CHubController::QueryStatusChangeEndpoint(
|
||||||
PIRP Irp)
|
PIRP Irp)
|
||||||
{
|
{
|
||||||
ULONG PortCount, PortId;
|
ULONG PortCount, PortId;
|
||||||
|
@ -846,7 +846,7 @@ CHubController::HandleBulkOrInterruptTransfer(
|
||||||
if (Urb->UrbHeader.UsbdDeviceHandle == PVOID(this) || Urb->UrbHeader.UsbdDeviceHandle == NULL)
|
if (Urb->UrbHeader.UsbdDeviceHandle == PVOID(this) || Urb->UrbHeader.UsbdDeviceHandle == NULL)
|
||||||
{
|
{
|
||||||
ASSERT(m_PendingSCEIrp == NULL);
|
ASSERT(m_PendingSCEIrp == NULL);
|
||||||
if (QueryStatusChageEndpoint(Irp))
|
if (QueryStatusChangeEndpoint(Irp))
|
||||||
{
|
{
|
||||||
StatusChangeEndpointCallBack(this);
|
StatusChangeEndpointCallBack(this);
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
|
@ -3997,7 +3997,7 @@ VOID NTAPI StatusChangeEndpointCallBack(PVOID Context)
|
||||||
}
|
}
|
||||||
|
|
||||||
This->m_PendingSCEIrp = NULL;
|
This->m_PendingSCEIrp = NULL;
|
||||||
This->QueryStatusChageEndpoint(Irp);
|
This->QueryStatusChangeEndpoint(Irp);
|
||||||
|
|
||||||
Irp->IoStatus.Status = STATUS_SUCCESS;
|
Irp->IoStatus.Status = STATUS_SUCCESS;
|
||||||
Irp->IoStatus.Information = 0;
|
Irp->IoStatus.Information = 0;
|
||||||
|
|
Loading…
Reference in a new issue