mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
[PCI]
- Fix a crash that occurs when a device is started which requires no resources svn path=/trunk/; revision=46767
This commit is contained in:
parent
2d3b57377f
commit
da1fa61cf0
|
@ -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++)
|
||||
|
|
Loading…
Reference in a new issue