diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-03-24 16:38:56 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-03-27 13:56:49 -0700 |
commit | 011e562a98a8b8c278391bc64d9dc2c8df0a5585 (patch) | |
tree | 645a00bfeb505f9e007247982f8ccd82a41105cd /monitor/packet.c | |
parent | 2719bb5aaf6df77edb4bf7c2654c178836300c73 (diff) | |
download | bluez-011e562a98a8b8c278391bc64d9dc2c8df0a5585.tar.gz |
monitor: Cache IRK being parsed
This caches any IRK being parsed so they can be used to resolve
addresses later which fixes the problem of only being able to resolve
addresses if the monitor happens to be active while SMP exchange the
keys.
Diffstat (limited to 'monitor/packet.c')
-rw-r--r-- | monitor/packet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor/packet.c b/monitor/packet.c index d9e8abf41..c6ff16eda 100644 --- a/monitor/packet.c +++ b/monitor/packet.c @@ -12870,6 +12870,7 @@ static void mgmt_print_identity_resolving_key(const void *data) mgmt_print_address(data, address_type); print_hex_field("Key", data + 7, 16); + keys_add_identity(data, address_type, data + 7); } static void mgmt_print_signature_resolving_key(const void *data) |