OSDN Git Service

Don't notify legacy advertiser in master role.
authorJakub Pawlowski <jpawlowski@google.com>
Wed, 1 Nov 2017 21:03:39 +0000 (14:03 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Wed, 1 Nov 2017 21:07:31 +0000 (14:07 -0700)
commit874ef327d4624bf9c189b1ac37e831cfab75774b
tree87a9206ba016552b78b793d35bd527455dec6185
parenta413084c8400271a7b575f4ce773d19e0793fd91
Don't notify legacy advertiser in master role.

Legacy advertiser should be notified about connection success only
if we're the slave of connection.

Bug: 68712406
Test: bonding with device while using legacy advertising
Change-Id: I4790fb9c8a4f58ea76f6b28fd5384479f2fee0d8
stack/btm/btm_ble.cc