Initialize DeviceNumber to 0
Modified: trunk/reactos/drivers/usb/miniport/common/main.c

Modified: trunk/reactos/drivers/usb/miniport/common/main.c
--- trunk/reactos/drivers/usb/miniport/common/main.c	2005-09-15 05:58:49 UTC (rev 17856)
+++ trunk/reactos/drivers/usb/miniport/common/main.c	2005-09-15 12:50:40 UTC (rev 17857)
@@ -64,7 +64,6 @@
 	*pPdo = Pdo;
 	return STATUS_SUCCESS;
 }
-
 #if 0
 static NTSTATUS
 AddDevice_Keyboard(
@@ -168,7 +167,7 @@
 	}
 
 	// Create a unicode device name
-//	DeviceNumber = 0; //TODO: Allocate new device number every time
+	DeviceNumber = 0; //TODO: Allocate new device number every time
 	swprintf(DeviceBuffer, L"\\Device\\USBFDO-%lu", DeviceNumber);
 	RtlInitUnicodeString(&DeviceName, DeviceBuffer);