OSDN Git Service

btm_ble_conn_complete: use pseudo address type together with pseudo address
authorJakub Pawlowski <jpawlowski@google.com>
Wed, 25 Sep 2019 11:39:33 +0000 (13:39 +0200)
committerMyles Watson <mylesgw@google.com>
Wed, 25 Sep 2019 19:54:31 +0000 (19:54 +0000)
commitc664929ed00cb38ad176b96a93a4071331607e15
tree5c242eae7f5f78ab7e800080ef90d2427c029aa7
parent5e69313396d491dba4c4ffd84599625cded839fb
btm_ble_conn_complete: use pseudo address type together with pseudo address

Currently, when the pseudo address type doesn't match the received address
type, we can end up modifying the security record with bad address type
in call to btm_ble_connected.

Bug: 141186673
Bug: 139825901
Bug: 140847046
Change-Id: I7ea60dde6e0876a5e757006024490a2cc155a370
stack/btm/btm_ble_connection_establishment.cc