mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:23:05 +00:00
[NTOSKRNL]
- Quick fix for the crash loading boot-time legacy drivers - More device node flag state fixes coming soon svn path=/trunk/; revision=51946
This commit is contained in:
parent
90e8da7f8a
commit
2b5e8a3588
1 changed files with 6 additions and 0 deletions
|
@ -328,6 +328,12 @@ IopStartDevice(
|
||||||
UNICODE_STRING KeyName;
|
UNICODE_STRING KeyName;
|
||||||
OBJECT_ATTRIBUTES ObjectAttributes;
|
OBJECT_ATTRIBUTES ObjectAttributes;
|
||||||
|
|
||||||
|
if (((DeviceNode->Flags & DNF_STARTED) && !(DeviceNode->Flags & DNF_HAS_PROBLEM)) ||
|
||||||
|
(DeviceNode->Flags & DNF_START_REQUEST_PENDING))
|
||||||
|
{
|
||||||
|
return STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
Status = IopAssignDeviceResources(DeviceNode);
|
Status = IopAssignDeviceResources(DeviceNode);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
goto ByeBye;
|
goto ByeBye;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue