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

net: tcp: Fix user_data provided to accept callback



TCP implementation provided the parent net_context pointer to the
accept callback instead of the user_data pointer registered with
net_tcp_accept(). This worked fine with the socket integration, as
sockets explicitly registered parent context as user_data, however it
shouldn't be hardcoded like this at the TCP level.

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