[USBCCGP]

- Fix bug when enumerating composite usb devices with IADs

svn path=/trunk/; revision=57988
This commit is contained in:
Johannes Anderwald 2012-12-24 09:56:28 +00:00
parent 48f0592923
commit 8a09fb755c

View file

@ -465,7 +465,7 @@ USBCCGP_EnumWithAssociationDescriptor(
// allocate function descriptor array
//
FDODeviceExtension->FunctionDescriptor = AllocateItem(NonPagedPool, sizeof(USBC_FUNCTION_DESCRIPTOR) * DescriptorCount);
if (!FDODeviceExtension->FunctionDescriptorCount)
if (!FDODeviceExtension->FunctionDescriptor)
{
//
// no memory