- Fix a crash that occurs when a device is started which requires no resources

svn path=/trunk/; revision=46767
This commit is contained in:
Cameron Gutman
2010-04-07 20:18:44 +00:00
parent 2d3b57377f
commit da1fa61cf0
+3
View File
@@ -1199,6 +1199,9 @@ PdoStartDevice(
PPDO_DEVICE_EXTENSION DeviceExtension = DeviceObject->DeviceExtension;
UCHAR Irq;
if (!RawResList)
return STATUS_SUCCESS;
/* TODO: Assign the other resources we get to the card */
for (i = 0; i < RawResList->Count; i++)