rdpdr/serial: [fix] write zero at the end of an aborted irp

This commit is contained in:
Eduardo Beloni 2011-10-18 16:32:51 -02:00
parent 9dc6d1d61f
commit b8c865fa9f

View File

@ -464,6 +464,7 @@ static void serial_abort_single_io(SERIAL_DEVICE* serial, uint32 file_id, uint32
/* Process a SINGLE FileId and MajorFunction */
list_remove(serial->pending_irps, irp);
irp->IoStatus = io_status;
stream_write_uint32(irp->output, 0);
irp->Complete(irp);
wait_obj_set(serial->in_event);