Skip to content
Commit 7d67991a authored by Xavier Chapron's avatar Xavier Chapron Committed by Anas Nashif
Browse files

drivers: modem: modem_socket: Fix blocking modem_socket_poll



Before this commit, if a socket had received data before calling the
poll function, then the poll was waiting for either new data or a
timeout.
With this fix, polled socket are check for pending data before the
semaphore wait.

Signed-off-by: default avatarXavier Chapron <xavier.chapron@stimio.fr>
parent 8771fbda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment