bt_conn_disconnect does not result in .disconnect callback

NCS3.0.0 , NRF52840

calling bt_conn_disconnect does not result in the disconnect callback being called.

the conn state seems to be stuck in BT_CONN_DISCONNECTING. I have to manually run a private function 'bt_conn_cleanup_all()' which results in the CB being called.

How can I get the disconnect callback to be called after calling the bt_conn_disconnect?

Thanks!

Related