[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:
Johannes Anderwald 2011-12-29 10:13:36 +00:00
parent 4e6638bcc3
commit 7e231e2c92
4 changed files with 9 additions and 3 deletions

View file

@ -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
//