Skip to content
Commit 3163325e authored by Robert Lubos's avatar Robert Lubos Committed by Benjamin Cabé
Browse files

net: sockets: tls: Fix connect timeout error code



In case TLS connect timed out during the handshake, errno was set to
EAGAIN which is unexpected and confusing. Fix this and set the errno
to ETIMEDOUT instead.

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