Author: janderwald
Date: Mon Dec 24 09:56:28 2012
New Revision: 57988
URL:
http://svn.reactos.org/svn/reactos?rev=57988&view=rev
Log:
[USBCCGP]
- Fix bug when enumerating composite usb devices with IADs
Modified:
trunk/reactos/drivers/usb/usbccgp/function.c
Modified: trunk/reactos/drivers/usb/usbccgp/function.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbccgp/functi…
==============================================================================
--- trunk/reactos/drivers/usb/usbccgp/function.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbccgp/function.c [iso-8859-1] Mon Dec 24 09:56:28 2012
@@ -465,7 +465,7 @@
// allocate function descriptor array
//
FDODeviceExtension->FunctionDescriptor = AllocateItem(NonPagedPool,
sizeof(USBC_FUNCTION_DESCRIPTOR) * DescriptorCount);
- if (!FDODeviceExtension->FunctionDescriptorCount)
+ if (!FDODeviceExtension->FunctionDescriptor)
{
//
// no memory