Skip to content
Commit 71d0843c authored by Johan Hedberg's avatar Johan Hedberg Committed by Luiz Augusto von Dentz
Browse files

Bluetooth: conn: Pass disconnect error properly to the conn struct



The bt_conn_set_state() function will not notify the connected
callback of the connection error if conn->err isn't properly set.

Jira: ZEP-2005

Change-Id: Idc30e736f4d8ba00156bf5c0e37dcccdb151742f
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent ba7b6b1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment