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

drivers: modem: sara-r4: Sanitize send_socket_data() semaphore handling



Reset of the sem_response semaphore should be done before sending data.
This prevent any potential race conditions between the rx thread and the
thread running send_socket_data().

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