Skip to content
Commit 1c651031 authored by Jonathan Rico's avatar Jonathan Rico Committed by Fabio Baltieri
Browse files

Bluetooth: L2CAP: Set NULL callback for PDUs



It was not being set, and thus if the user_data contained garbage from
before, then conn.c would attempt to call that garbage.

Static channels don't have this issue, as every "SDU" fits into one PDU.

Signed-off-by: default avatarJonathan Rico <jonathan.rico@nordicsemi.no>
Co-authored-by: default avatarHuajiang Zheng <nxf88597@lsv051208.swis.nl-cdc01.nxp.com>
parent 8d7c1bc7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment