mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
sm: release setup context after sending recalculated LTK for legacy pairing
This commit is contained in:
parent
c385947d36
commit
15c7aed6d9
@ -2597,6 +2597,7 @@ static void sm_run(void){
|
||||
reverse_128(setup->sm_ltk, ltk_flipped);
|
||||
connection->sm_engine_state = SM_RESPONDER_IDLE;
|
||||
hci_send_cmd(&hci_le_long_term_key_request_reply, connection->sm_handle, ltk_flipped);
|
||||
sm_done_for_handle(connection->sm_handle);
|
||||
return;
|
||||
}
|
||||
case SM_RESPONDER_PH4_Y_GET_ENC:
|
||||
|
Loading…
x
Reference in New Issue
Block a user