From 8addb6ae11e310461e7d1ecff3eb261a31533ed2 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Sat, 11 Jun 2005 21:29:59 +0000 Subject: [PATCH] Fix pdo->fdo typo, causing serious errors, ending up driver unloadable at all. svn path=/trunk/; revision=15862 --- reactos/drivers/usb/cromwell/host/ohci_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/drivers/usb/cromwell/host/ohci_main.c b/reactos/drivers/usb/cromwell/host/ohci_main.c index 2f3aec3c129..407aacf3064 100644 --- a/reactos/drivers/usb/cromwell/host/ohci_main.c +++ b/reactos/drivers/usb/cromwell/host/ohci_main.c @@ -77,7 +77,7 @@ NTSTATUS STDCALL AddDevice(PDRIVER_OBJECT DriverObject, PDEVICE_OBJECT pdo) } // zerofill device extension - DeviceExtension = (POHCI_DEVICE_EXTENSION)pdo->DeviceExtension; + DeviceExtension = (POHCI_DEVICE_EXTENSION)fdo->DeviceExtension; RtlZeroMemory(DeviceExtension, sizeof(OHCI_DEVICE_EXTENSION)); DeviceExtension->NextDeviceObject = IoAttachDeviceToDeviceStack(fdo, pdo);