mirror of
https://github.com/reactos/reactos.git
synced 2024-08-05 19:11:16 +00:00
[USBCCGP]
- Add a DPRINT/ASSERT to USBCCGP_LegacyEnum to test a theory about CORE-9226 svn path=/trunk/; revision=67026
This commit is contained in:
parent
9b7e229a23
commit
9b70cba818
|
@ -639,6 +639,11 @@ USBCCGP_LegacyEnum(
|
|||
//
|
||||
// init function descriptors
|
||||
//
|
||||
if (FDODeviceExtension->FunctionDescriptorCount != 0)
|
||||
{
|
||||
DPRINT1("USBCCGP_LegacyEnum called with FunctionDescriptorCount=%lu. Adding another %lu descriptors will probably overflow\n", FDODeviceExtension->FunctionDescriptorCount, FDODeviceExtension->ConfigurationDescriptor->bNumInterfaces);
|
||||
ASSERT(FDODeviceExtension->FunctionDescriptorCount == 0);
|
||||
}
|
||||
for (Index = 0; Index < FDODeviceExtension->ConfigurationDescriptor->bNumInterfaces; Index++)
|
||||
{
|
||||
// get interface descriptor
|
||||
|
|
Loading…
Reference in a new issue