If the LE connection is aborted by the user, the HCI connection is not released after receiving the LE connection complete event. This is caused by the conn pointer being null because the connection complete event does not contain an address in this case.
It used to work because the current outgoing connection was always assigned to the conn pointer. This has changed in commit 9fd274a.
If the LE connection is aborted by the user, the HCI connection is not released after receiving the
LE connection complete
event. This is caused by theconn
pointer beingnull
because the connection complete event does not contain an address in this case. It used to work because the current outgoing connection was always assigned to theconn
pointer. This has changed in commit 9fd274a.