Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/windows/wdfserial/QCRD.c
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ void QCRD_ReadRequestHandlerThread
if (QCRD_StartReadTimeout(pDevContext, (ULONG)requestParam.Parameters.Read.Length) == FALSE)
{
// timeout immediately
WdfRequestComplete(pendingTimeoutRequest, STATUS_TIMEOUT);
WdfRequestComplete(pendingTimeoutRequest, STATUS_SUCCESS);
QCSER_DbgPrint
(
QCSER_DBG_MASK_READ,
Expand Down
2 changes: 1 addition & 1 deletion src/windows/wdfserial/QCSER.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ VOID QCSER_ProcessNewUartState

pDevContext->CurrUartState &= US_BITS_MODEM;
ulNewEvent &= pDevContext->WaitMask;
QCSER_CompleteWomRequest(pDevContext, STATUS_SUCCESS, pDevContext->WaitMask);
QCSER_CompleteWomRequest(pDevContext, STATUS_SUCCESS, ulNewEvent);
}

QCSER_DbgPrint
Expand Down
2 changes: 1 addition & 1 deletion src/windows/wdfserial/QCUTILS.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ BOOLEAN QCUTIL_IsIoQueueEmpty
NULL,
NULL
);
return (WDF_IO_QUEUE_IDLE(queueStatus)) ? TRUE : FALSE;
return ((queueStatus & WdfIoQueueNoRequests) != 0);
}


Expand Down
Loading