Author: hpoussin Date: Mon May 15 14:55:51 2006 New Revision: 21906
URL: http://svn.reactos.ru/svn/reactos?rev=21906&view=rev Log: Initialize the status block before sending the IRP
Modified: trunk/reactos/drivers/usb/usbhub/usbhub.c
Modified: trunk/reactos/drivers/usb/usbhub/usbhub.c URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/drivers/usb/usbhub/usbhub.c?... ============================================================================== --- trunk/reactos/drivers/usb/usbhub/usbhub.c (original) +++ trunk/reactos/drivers/usb/usbhub/usbhub.c Mon May 15 14:55:51 2006 @@ -50,6 +50,10 @@ DPRINT("Usbhub: IoBuildDeviceIoControlRequest() failed\n"); return STATUS_INSUFFICIENT_RESOURCES; } + + /* Initialize the status block before sending the IRP */ + IoStatus.Status = STATUS_NOT_SUPPORTED; + IoStatus.Information = 0; Status = IoCallDriver(Pdo, Irp);