Please sign in to comment.
net: sockets: close: Call net_context_accept only for listening socket
The previous code "optimized" and called both net_context_accept() and net_context_recv() blindly to reset the corresponding callbacks. But this leads to "wrong state" logging if debugging is enabled, so clean that up. Signed-off-by: Paul Sokolovsky <email@example.com>
- Loading branch information...