Skip to content
Commit 7cf2b0fc authored by Bjarki Arge Andreasen's avatar Bjarki Arge Andreasen Committed by Carles Cufí
Browse files

modem: backend: uart_async: Extend "closed" requisites



The current implementation only waits for the RX disabled event
to determine if the UART is closed. It should wait for all RX
buffers to be released, and the TX to be done as well.

We now also call uart_tx_abort() when closing the pipe.

Signed-off-by: default avatarBjarki Arge Andreasen <bjarki@arge-andreasen.me>
parent 1d01f5c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment