Author: vmikayelyan
Date: Fri Aug 19 15:50:18 2016
New Revision: 72373
URL:
http://svn.reactos.org/svn/reactos?rev=72373&view=rev
Log:
usb: hub: PDO: Fix in IRP_MN_QUERY_DEVICE_RELATIONS
Here we shouldn't modify information field of IRP, because for example
in case of bus relations IRP must reach the stack's PDO collecting on
its way all relations.
This was the one of the causes of MS's usbccgp fail. usbccgp was not
able to report to PnP manager about it's child devices.
There is also another issues in usbuhci, which prevents usbccgp from
normal operation.
[THIS PATCH SHULD NOT BE MERGED WITH TRUNK UNTIL UHCI BUGS ARE NOT FIXED]
Modified:
branches/GSoC_2016/USB/drivers/usb/usbhub/pdo.c
Modified: branches/GSoC_2016/USB/drivers/usb/usbhub/pdo.c
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2016/USB/drivers/usb/usbhu…
==============================================================================
--- branches/GSoC_2016/USB/drivers/usb/usbhub/pdo.c [iso-8859-1] (original)
+++ branches/GSoC_2016/USB/drivers/usb/usbhub/pdo.c [iso-8859-1] Fri Aug 19 15:50:18 2016
@@ -711,6 +711,7 @@
{
/* not supported */
Status = Irp->IoStatus.Status;
+ Information = Irp->IoStatus.Information;
break;
}