Skip to content
Snippets Groups Projects
Commit c04ad3ce authored by Clemens Terasa's avatar Clemens Terasa
Browse files

can: Move mutex unlock after signal.

The pthread_cond_signal should be called with the mutex locked.
Thus move the unlock after the signal.

Add an usleep(1000) before closing the CAN socket. Some drivers have
some kind of race condition sending data and closing the socket.
parent f70f5f87
No related branches found
No related tags found
1 merge request!2can: Move mutex unlock after signal.
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment