mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-09 21:45:54 +00:00
sm: set IR lookup state to 'succceeded' on pairing complete
This commit is contained in:
parent
793cf6ce5d
commit
e1086030d9
@ -1295,6 +1295,7 @@ static void sm_key_distribution_handle_all_received(sm_connection_t * sm_conn){
|
|||||||
if (le_db_index >= 0){
|
if (le_db_index >= 0){
|
||||||
|
|
||||||
sm_notify_client_index(SM_EVENT_IDENTITY_CREATED, sm_conn->sm_handle, setup->sm_peer_addr_type, setup->sm_peer_address, le_db_index);
|
sm_notify_client_index(SM_EVENT_IDENTITY_CREATED, sm_conn->sm_handle, setup->sm_peer_addr_type, setup->sm_peer_address, le_db_index);
|
||||||
|
sm_conn->sm_irk_lookup_state = IRK_LOOKUP_SUCCEEDED;
|
||||||
|
|
||||||
#ifdef ENABLE_LE_SIGNED_WRITE
|
#ifdef ENABLE_LE_SIGNED_WRITE
|
||||||
// store local CSRK
|
// store local CSRK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user