OSDN Git Service

DO NOT MERGE Store BLE keys using the address from the ble_auth_cmpl_evt
authorUgo Yu <ugoyu@google.com>
Thu, 11 Jul 2019 12:12:42 +0000 (20:12 +0800)
committerUgo Yu <ugoyu@google.com>
Fri, 12 Jul 2019 03:05:39 +0000 (03:05 +0000)
commit098e2972201b454de0f95a72636ecd9009dc32de
treec60075810d8550bfb7b1fdee19c95bb1c0d6ca1a
parent38535adcd0d83060dee8ee87abd80234b19d0f03
DO NOT MERGE Store BLE keys using the address from the ble_auth_cmpl_evt

Reading the peer address from btif_dm_ble_auth_cmpl_evt, instead
of using the value from the pairing control block in
btif_dm_save_ble_bonding_keys, ensures that BLE keys are stored with
the correct address.

Bug: 133234174
Bug: 79703832
Test: 1. Initiate crosskey pairing from BLE
      2. Check whether BLE keys are stored correctly
Change-Id: I18b4a1d8e2cdcd6dd4a300f1dc9e6d3892a3baff
Merged-In: I18b4a1d8e2cdcd6dd4a300f1dc9e6d3892a3baff
(cherry picked from commit 0d95651e8b22b1012f1ee103e4a0b8665a0c17d4)
btif/include/btif_dm.h
btif/src/btif_dm.cc