- Fix a deadlock caused by forwarding IRPs to ourself

svn path=/trunk/; revision=54226
This commit is contained in:
Cameron Gutman
2011-10-21 16:38:56 +00:00
parent 5d67b60839
commit 2ca62c7af9
+2 -2
View File
@@ -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 */