OSDN Git Service

Set random identity only if enhanced privacy is supported
authorPriti Aghera <paghera@broadcom.com>
Wed, 1 Jul 2015 20:27:57 +0000 (13:27 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Mon, 6 Jul 2015 15:41:49 +0000 (08:41 -0700)
commit8e928b4ad152c6b2713147067e02327f3bbedde6
tree4a38ba712891ed58f5d3b0ef2e01aa18ca9d1412
parent9345c8fd0dae6d1c1954c9d2e29ad57fcf5015ad
Set random identity only if enhanced privacy is supported

Change Own address type to Random identity only if controller supports enhanced
privacy. Check if controller supports enhanced privacy before changing own adress type
and peer address type to 0x02 or 0x03 in auto connection.
Privacy 4.1 only supports Public and Random address.

Bug: 20817308
Change-Id: I9f5531e4e41c824426cd64de517b44355ac2655d
stack/btm/btm_ble_bgconn.c