Skip to content

Commit

Permalink
Merge pull request ARMmbed#7681 from paul-szczepanek-arm/sc-ltk
Browse files Browse the repository at this point in the history
BLE: store secure connections ltk in both local and peer entry
  • Loading branch information
0xc0170 authored Aug 20, 2018
2 parents 654eeb5 + e365b0b commit e2ec7f9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1464,6 +1464,7 @@ void GenericSecurityManager::on_secure_connections_ltk_generated(
flags->secure_connections_paired = true;

_db->set_entry_peer_ltk(cb->db_entry, ltk);
_db->set_entry_local_ltk(cb->db_entry, ltk);
}

void GenericSecurityManager::on_keys_distributed_ltk(
Expand Down

0 comments on commit e2ec7f9

Please sign in to comment.