Author: janderwald
Date: Fri Oct 21 20:52:40 2016
New Revision: 73014
URL:
http://svn.reactos.org/svn/reactos?rev=73014&view=rev
Log:
[USBCCGP]
- fix invalid device descriptor for composite usb devices
Modified:
trunk/reactos/drivers/usb/usbccgp/fdo.c
Modified: trunk/reactos/drivers/usb/usbccgp/fdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbccgp/fdo.c?…
==============================================================================
--- trunk/reactos/drivers/usb/usbccgp/fdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbccgp/fdo.c [iso-8859-1] Fri Oct 21 20:52:40 2016
@@ -223,7 +223,7 @@
PDODeviceExtension->ConfigurationHandle =
FDODeviceExtension->ConfigurationHandle;
PDODeviceExtension->ConfigurationDescriptor =
FDODeviceExtension->ConfigurationDescriptor;
RtlCopyMemory(&PDODeviceExtension->Capabilities,
&FDODeviceExtension->Capabilities, sizeof(DEVICE_CAPABILITIES));
- RtlCopyMemory(&PDODeviceExtension->DeviceDescriptor,
&FDODeviceExtension->DeviceDescriptor, sizeof(USB_DEVICE_DESCRIPTOR));
+ RtlCopyMemory(&PDODeviceExtension->DeviceDescriptor,
FDODeviceExtension->DeviceDescriptor, sizeof(USB_DEVICE_DESCRIPTOR));
/* Patch the stack size */
PDODeviceObject->StackSize = DeviceObject->StackSize + 1;