[I8042PRT]
[reactos.git] / reactos / drivers / input / i8042prt / mouse.c
index 16ea8cd..09516c1 100644 (file)
@@ -544,9 +544,11 @@ cleanup:
                }
        }
 
-       Irp->IoStatus.Status = Status;
        if (Status != STATUS_PENDING)
+       {
+               Irp->IoStatus.Status = Status;
                IoCompleteRequest(Irp, IO_NO_INCREMENT);
+       }
        return Status;
 }