mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[CMBATT]
- Fix a deadlock caused by forwarding IRPs to ourself svn path=/trunk/; revision=54226
This commit is contained in:
@@ -303,7 +303,7 @@ CmBattPnpDispatch(IN PDEVICE_OBJECT DeviceObject,
|
||||
TRUE);
|
||||
|
||||
/* Now call ACPI to inherit its PnP Device State */
|
||||
Status = IoCallDriver(DeviceObject, Irp);
|
||||
Status = IoCallDriver(DeviceExtension->AttachedDevice, Irp);
|
||||
if (Status == STATUS_PENDING)
|
||||
{
|
||||
/* Wait for completion */
|
||||
@@ -443,7 +443,7 @@ CmBattPnpDispatch(IN PDEVICE_OBJECT DeviceObject,
|
||||
TRUE);
|
||||
|
||||
/* Now call ACPI */
|
||||
Status = IoCallDriver(DeviceObject, Irp);
|
||||
Status = IoCallDriver(DeviceExtension->AttachedDevice, Irp);
|
||||
if (Status == STATUS_PENDING)
|
||||
{
|
||||
/* Wait for completion */
|
||||
|
||||
Reference in New Issue
Block a user