Skip to content
Commit 96b9425a authored by Luiz Augusto von Dentz's avatar Luiz Augusto von Dentz Committed by Jukka Rissanen
Browse files

Bluetooth: L2CAP: Only call disconnected callback for connected channels



If channel has conn set to NULL disconnected shall not be called as
may cause invalid actions as with bt_gatt_disconnected being called
with a NULL conn.

Change-Id: I11bc41a34c2a2a3bc5f8514ec4a948235473cfba
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent 2dda2a98
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment