mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 11:14:01 +00:00
[USBOHCI]
- Silence a few traces - Add a hack for handling URB_FUNCTION_CLASS_INTERFACE. The hid bus driver performs this request with zero buffer length, which is not valid. Needs more investigation svn path=/branches/usb-bringup/; revision=54777
This commit is contained in:
parent
4e6638bcc3
commit
7e231e2c92
4 changed files with 9 additions and 3 deletions
|
@ -1634,6 +1634,12 @@ CHubController::HandleClassInterface(
|
|||
DPRINT1("Value %x\n", Urb->UrbControlVendorClassRequest.Value);
|
||||
DPRINT1("Index %x\n", Urb->UrbControlVendorClassRequest.Index);
|
||||
|
||||
if (Urb->UrbControlVendorClassRequest.TransferBufferLength == 0)
|
||||
{
|
||||
DPRINT1("Invalid request length\n");
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
//
|
||||
// initialize setup packet
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue