Skip to content
Commit 8a831150 authored by Philipp Finke's avatar Philipp Finke Committed by Fabio Baltieri
Browse files

net: sockets: socket_service: Fixed issue that prevented reconfiguration



Once running, a socket service could not be reconfigured (i.e. changing
file descriptors and/or events to be polled). This was due to an wrong
check at the end of the thread main loop of socket_service_thread that
evaluated to false as variable ret is zero if trigger_work(), which is
called previously for all returned events, returns successfully.

Signed-off-by: default avatarPhilipp Finke <philipp_finke@gmx.de>
parent de42b493
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment