Skip to content
Commit d75b4432 authored by Jonathan Rico's avatar Jonathan Rico Committed by David Leach
Browse files

Bluetooth: ATT: don't callback if bearer is invalid



If an att buf is destroyed during bearer teardown, we want to avoid
using and passing invalid references to the application.

Double-check that the current bearer, the ATT object and the ACL conn
objects it is attached to are not NULL before proceeding.

Signed-off-by: default avatarJonathan Rico <jonathan.rico@nordicsemi.no>
parent 29b0cd42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment