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

This commit is contained in:
Thomas Faber 2020-08-23 17:05:14 +02:00
parent ea5c612b00
commit dff2d58693
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

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)
{