mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-06 21:40:04 +00:00
sm: emit re-encryption started only once
This commit is contained in:
parent
7b001f4e10
commit
3ab61f7786
@ -595,6 +595,8 @@ static void sm_notify_client_status(uint8_t type, hci_con_handle_t con_handle, u
|
||||
|
||||
static void sm_reencryption_started(sm_connection_t * sm_conn){
|
||||
|
||||
if (sm_conn->sm_reencryption_active) return;
|
||||
|
||||
sm_conn->sm_reencryption_active = true;
|
||||
|
||||
// fetch addr and addr type from db, only called for valid entries
|
||||
|
Loading…
x
Reference in New Issue
Block a user