mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-29 03:32:49 +00:00
sm: fix cache ltk for central re-encrypt
This commit is contained in:
parent
f728bb7b34
commit
f76e733a84
@ -2902,7 +2902,7 @@ static void sm_run(void){
|
||||
sm_load_security_info(connection);
|
||||
|
||||
// cache key before using
|
||||
sm_cache_ltk(connection, setup->sm_ltk);
|
||||
sm_cache_ltk(connection, setup->sm_peer_ltk);
|
||||
|
||||
sm_key_t peer_ltk_flipped;
|
||||
reverse_128(setup->sm_peer_ltk, peer_ltk_flipped);
|
||||
|
Loading…
x
Reference in New Issue
Block a user