Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: lwm2m: Initialize socket FD to an invalid value
During registration, first thing LWM2M does is trying to close a socket indicated by sock_fd stored in its context. In case it is not initialized to some invalid value (-1 in this case), LWM2M may close an ambigous socket. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
- Loading branch information