From 36ed39b2b9bdd79dd60fc8d5309939b338d95db3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Mon, 15 May 2006 10:55:51 +0000 Subject: [PATCH] Initialize the status block before sending the IRP svn path=/trunk/; revision=21906 --- reactos/drivers/usb/usbhub/usbhub.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/drivers/usb/usbhub/usbhub.c b/reactos/drivers/usb/usbhub/usbhub.c index 826162d7fee..1cd193b0214 100644 --- a/reactos/drivers/usb/usbhub/usbhub.c +++ b/reactos/drivers/usb/usbhub/usbhub.c @@ -51,6 +51,10 @@ GetRootHubPointer( return STATUS_INSUFFICIENT_RESOURCES; } + /* Initialize the status block before sending the IRP */ + IoStatus.Status = STATUS_NOT_SUPPORTED; + IoStatus.Information = 0; + Status = IoCallDriver(Pdo, Irp); if (Status == STATUS_PENDING)