Skip to content
Commit 45a6994f authored by Jonathan Rico's avatar Jonathan Rico Committed by Anas Nashif
Browse files

Bluetooth: L2CAP: Mark user_data as owned by the stack



Storing stuff in user_data? That's a paddlin'

We have been debugging issue after issue because ownership of this
"user" data is not clearly defined. Now it is. L2CAP owns the user_data
field entirely, as soon as `send()` is called.

Also add a warning and retval using CHECKIF.

Signed-off-by: default avatarJonathan Rico <jonathan.rico@nordicsemi.no>
(cherry picked from commit ea944997)
parent e41c69a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment