mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 09:16:17 +00:00
[USBHUB] Only break into the debugger in the case that is actually unimplemented. CORE-16394
This commit is contained in:
parent
adffa8ea75
commit
f32e1acd3c
1 changed files with 8 additions and 2 deletions
|
@ -25,6 +25,7 @@ USBH_SelectConfigOrInterfaceComplete(IN PDEVICE_OBJECT DeviceObject,
|
||||||
PUSBHUB_PORT_DATA PortData = NULL;
|
PUSBHUB_PORT_DATA PortData = NULL;
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
KIRQL OldIrql;
|
KIRQL OldIrql;
|
||||||
|
PURB Urb;
|
||||||
|
|
||||||
DPRINT("USBH_SelectConfigOrInterfaceComplete ... \n");
|
DPRINT("USBH_SelectConfigOrInterfaceComplete ... \n");
|
||||||
|
|
||||||
|
@ -69,8 +70,13 @@ USBH_SelectConfigOrInterfaceComplete(IN PDEVICE_OBJECT DeviceObject,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DPRINT1("USBH_SelectConfigOrInterfaceComplete: Status != STATUS_SUCCESS. FIXME\n");
|
Urb = URB_FROM_IRP(Irp);
|
||||||
DbgBreakPoint();
|
DPRINT1("USBH_SelectConfigOrInterfaceComplete: Status = 0x%lx, UsbdStatus = 0x%lx\n", Status, Urb->UrbHeader.Status);
|
||||||
|
if (Urb->UrbHeader.Status == USBD_STATUS_NO_BANDWIDTH)
|
||||||
|
{
|
||||||
|
DPRINT1("USBH_SelectConfigOrInterfaceComplete: USBD_STATUS_NO_BANDWIDTH. FIXME\n");
|
||||||
|
DbgBreakPoint();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue