mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 16:31:21 +00:00
[CMBATT]
- Fix a deadlock caused by forwarding IRPs to ourself svn path=/trunk/; revision=54226
This commit is contained in:
parent
5d67b60839
commit
2ca62c7af9
1 changed files with 2 additions and 2 deletions
|
@ -303,7 +303,7 @@ CmBattPnpDispatch(IN PDEVICE_OBJECT DeviceObject,
|
||||||
TRUE);
|
TRUE);
|
||||||
|
|
||||||
/* Now call ACPI to inherit its PnP Device State */
|
/* Now call ACPI to inherit its PnP Device State */
|
||||||
Status = IoCallDriver(DeviceObject, Irp);
|
Status = IoCallDriver(DeviceExtension->AttachedDevice, Irp);
|
||||||
if (Status == STATUS_PENDING)
|
if (Status == STATUS_PENDING)
|
||||||
{
|
{
|
||||||
/* Wait for completion */
|
/* Wait for completion */
|
||||||
|
@ -443,7 +443,7 @@ CmBattPnpDispatch(IN PDEVICE_OBJECT DeviceObject,
|
||||||
TRUE);
|
TRUE);
|
||||||
|
|
||||||
/* Now call ACPI */
|
/* Now call ACPI */
|
||||||
Status = IoCallDriver(DeviceObject, Irp);
|
Status = IoCallDriver(DeviceExtension->AttachedDevice, Irp);
|
||||||
if (Status == STATUS_PENDING)
|
if (Status == STATUS_PENDING)
|
||||||
{
|
{
|
||||||
/* Wait for completion */
|
/* Wait for completion */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue