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:
Xavier Chapron <xavier.chapron@stimio.fr>
Loading
Please sign in to comment