From 804a2dc28a2f31d922d2b66f69e31bb1805cb97b Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Wed, 1 Jun 2011 08:10:41 +0000 Subject: [PATCH] [USBHUB_NEW] - Fix compilation svn path=/branches/usb-bringup/; revision=52035 --- drivers/usb/usbhub_new/fdo.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/usbhub_new/fdo.c b/drivers/usb/usbhub_new/fdo.c index 1ccaa5adb7e..78984f78cc2 100644 --- a/drivers/usb/usbhub_new/fdo.c +++ b/drivers/usb/usbhub_new/fdo.c @@ -1,4 +1,4 @@ -/* +/* * PROJECT: ReactOS Universal Serial Bus Hub Driver * LICENSE: GPL - See COPYING in the top level directory * FILE: drivers/usb/usbhub/fdo.c @@ -254,9 +254,11 @@ DeviceStatusChangeThread( PWORK_ITEM_DATA WorkItemData; PORT_STATUS_CHANGE PortStatus; LONG PortId; - DPRINT1("Entered DeviceStatusChangeThread, Context %x\n", Context); + static LONG failsafe = 0; + DPRINT1("Entered DeviceStatusChangeThread, Context %x\n", Context); + WorkItemData = (PWORK_ITEM_DATA)Context; DeviceObject = (PDEVICE_OBJECT)WorkItemData->Context; HubDeviceExtension = (PHUB_DEVICE_EXTENSION)DeviceObject->DeviceExtension;