ntdll: Return STATUS_DEVICE_NOT_READY instead of STATUS_PENDING from try_transmit().

async_transmit_proc() expects the former.

Fixes: 1eb56b20ba
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2021-09-23 00:48:00 -05:00 committed by Alexandre Julliard
parent 455b707ea2
commit 4f4fee53a6
1 changed files with 1 additions and 1 deletions

View File

@ -1017,7 +1017,7 @@ static NTSTATUS try_transmit( int sock_fd, int file_fd, struct async_transmit_io
if (ret < read_size || (async->file_len && async->file_cursor == async->file_len))
async->file = NULL;
return STATUS_PENDING; /* still more data to send */
return STATUS_DEVICE_NOT_READY; /* still more data to send */
}
while (async->tail_cursor < async->buffers.TailLength)