OSDN Git Service

Fix AdvertisingManager not being initialized
authorJakub Pawlowski <jpawlowski@google.com>
Thu, 22 Dec 2016 11:13:00 +0000 (03:13 -0800)
committerAndre Eisenbach <eisenbach@google.com>
Wed, 28 Dec 2016 22:07:11 +0000 (22:07 +0000)
commit2255250d9bb5c8c1354fc2b4685523d028dcf6f9
tree1f32947e0916c06ebb0129a3068e80195e687291
parentce34742e357f7bfacecef252b3a22bf9a65f3d59
Fix AdvertisingManager not being initialized

When BLE_VND_INCLUDED is not set, advertising was not properly
initialized, which resulted in stack crashes. This patch makes sure that
LE advertising is always properly initialized

Bug: 33168939
Test: enable LE advertising with BLE_VND_INCLUDED set to false
Change-Id: I5fa0b3da39da99e750e1f8b6f0452a628094bfc4
bta/dm/bta_dm_act.cc
stack/btm/btm_ble_gap.cc
stack/btm/btm_ble_int.h
stack/btm/btm_ble_multi_adv.cc