Skip to content
Commit fef58a2a authored by Robert Lubos's avatar Robert Lubos Committed by David Leach
Browse files

net: sockets: Stick to NET_SOCKETS_POLL_MAX limit in socket services



Socket service pollfd count should not exceed the configured
NET_SOCKETS_POLL_MAX limit, as poll() will not be able to monitor
sockets beyond that limit anyway. Adding +1 there prevented the library
from catching the configuration error.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 722e04da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment