diff --git a/reactos/drivers/network/tcpip/tcpip/dispatch.c b/reactos/drivers/network/tcpip/tcpip/dispatch.c index 11de7b6d93b..aa0a0835fd2 100644 --- a/reactos/drivers/network/tcpip/tcpip/dispatch.c +++ b/reactos/drivers/network/tcpip/tcpip/dispatch.c @@ -1516,14 +1516,11 @@ NTSTATUS DispTdiSetInformationEx( return Irp->IoStatus.Status; } - Status = DispPrepareIrpForCancel(TranContext, Irp, NULL); - if (NT_SUCCESS(Status)) { - Request.RequestNotifyObject = DispDataRequestComplete; - Request.RequestContext = Irp; + Request.RequestNotifyObject = NULL; + Request.RequestContext = NULL; - Status = InfoTdiSetInformationEx(&Request, &Info->ID, + Status = InfoTdiSetInformationEx(&Request, &Info->ID, &Info->Buffer, Info->BufferSize); - } return Status; }