mirror of
https://github.com/google/bumble.git
synced 2026-06-18 10:12:27 +00:00
Save link_key in CTKD over BR/EDR
Since keystore.update() overwrites all existing keys, the existing link key will be wiped out. To avoid this, SMP also need to keep the key.
This commit is contained in:
@@ -547,6 +547,13 @@ async def test_self_smp_over_classic():
|
||||
MockSmpSession.send_public_key_command.assert_not_called()
|
||||
MockSmpSession.send_pairing_random_command.assert_not_called()
|
||||
|
||||
for i in range(2):
|
||||
assert (
|
||||
await two_devices.devices[i].keystore.get(
|
||||
str(two_devices.connections[i].peer_address)
|
||||
)
|
||||
).link_key
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
@pytest.mark.asyncio
|
||||
|
||||
Reference in New Issue
Block a user