Commit f18d72ac authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

nsiproxy: Return the IOSB status from nsi_ioctl().

parent df71272b
......@@ -159,6 +159,7 @@ static void nsiproxy_get_parameter( IRP *irp )
static NTSTATUS WINAPI nsi_ioctl( DEVICE_OBJECT *device, IRP *irp )
{
IO_STACK_LOCATION *irpsp = IoGetCurrentIrpStackLocation( irp );
NTSTATUS status;
TRACE( "ioctl %x insize %u outsize %u\n",
irpsp->Parameters.DeviceIoControl.IoControlCode,
......@@ -185,8 +186,9 @@ static NTSTATUS WINAPI nsi_ioctl( DEVICE_OBJECT *device, IRP *irp )
break;
}
status = irp->IoStatus.u.Status;
IoCompleteRequest( irp, IO_NO_INCREMENT );
return STATUS_SUCCESS;
return status;
}
static int add_device( DRIVER_OBJECT *driver )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment