[NPFS] Set completion routine on the correct IRP in NpTransceive.

This commit is contained in:
Thomas Faber
2020-08-23 17:05:52 +02:00
parent ea5c612b00
commit dff2d58693
+1 -1
View File
@@ -566,7 +566,7 @@ NpTransceive(IN PDEVICE_OBJECT DeviceObject,
goto Quickie;
}
IoSetCompletionRoutine(Irp, NpCompleteTransceiveIrp, NULL, TRUE, TRUE, TRUE);
IoSetCompletionRoutine(NewIrp, NpCompleteTransceiveIrp, NULL, TRUE, TRUE, TRUE);
if (BytesWritten)
{