mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-07 09:55:45 +00:00
sm: only store derived link key once, fixes compile warning
This commit is contained in:
parent
326e5ced38
commit
2dd6d27267
@ -1540,7 +1540,6 @@ static void sm_sc_cmac_done(uint8_t * hash){
|
||||
if (IS_RESPONDER(sm_conn->sm_role)){
|
||||
sm_conn->sm_engine_state = SM_RESPONDER_IDLE;
|
||||
} else {
|
||||
gap_store_link_key_for_bd_addr(setup->sm_s_address, setup->sm_t, link_key_type);
|
||||
sm_conn->sm_engine_state = SM_INITIATOR_CONNECTED;
|
||||
}
|
||||
sm_done_for_handle(sm_conn->sm_handle);
|
||||
|
Loading…
Reference in New Issue
Block a user