OSDN Git Service

BLE advertisement processing: use stored report address type when match is found
authorJakub Pawlowski <jpawlowski@google.com>
Wed, 25 Sep 2019 08:56:49 +0000 (10:56 +0200)
committerJakub Pawlowski <jpawlowski@google.com>
Wed, 25 Sep 2019 09:16:28 +0000 (11:16 +0200)
commita5835743d43b0f7bf5b9864a8090a8a6b8d127a5
tree9730632f587e26f7743423b8659717d88b5105c5
parent9f02d231cf9c7d6c62a57850673bf9717eae1df6
BLE advertisement processing: use stored report address type when match is found

Inside btm_ble_process_adv_addr, when we find a match to existing
security record, we should use not only the address, but also the
address type of the existing record.

Bug: 141186673
Bug: 139825901
Bug: 140847046
Test: Bond with device using it's public address, then scan and find it
      using it's random address, verify bt_config.conf file content.
Change-Id: I313d54d1e53d06ae292480d195653f0212a3d681
stack/btm/btm_ble_gap.cc