/* Called when the current connection state machine is no longer being used.  */
static void ble_ll_conn_current_sm_over(struct ble_ll_conn_sm *connsm)
/* Called when the current connection state machine is no longer being used.  */
static void ble_ll_conn_current_sm_over(struct ble_ll_conn_sm *connsm)
{
    ble_ll_conn_halt();
    if (connsm) {
        ble_ll_event_send(&connsm->conn_ev_end);
    }
}