mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
reset state after CMAC calculation
This commit is contained in:
parent
7d6e2e30d7
commit
5fcb62a185
1
ble/sm.c
1
ble/sm.c
@ -746,6 +746,7 @@ static void sm_cmac_handle_encryption_result(sm_key_t data){
|
|||||||
// done
|
// done
|
||||||
log_key("CMAC", data);
|
log_key("CMAC", data);
|
||||||
sm_cmac_done_handler(data);
|
sm_cmac_done_handler(data);
|
||||||
|
sm_cmac_state = CMAC_IDLE;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
log_info("sm_cmac_handle_encryption_result called in state %u", sm_cmac_state);
|
log_info("sm_cmac_handle_encryption_result called in state %u", sm_cmac_state);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user