+32
−4
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Two separate issues prevented the correct LTK from being storred in non-volatile storage and thus prevented an LE device from working after Bluetooth was restarted: 1. tBTM_SEC_BLE_KEYS contained a field "pltk" which stored the LTK, but downstream the field "ltk" in the same structure was used to access the key. 2. The structure element p_key_value was not deep-copied for BTA_DM_BLE_KEY_EVT events, causing data corruption and instabilities. This patch addresses both issues. Bug: 20091926 Change-Id: I9f9481a44bfe83cacd351f9e578451e77b573564