OSDN Git Service

Call BTA_VendorCleanup() during actual cleanup of the stack
authorPavlin Radoslavov <pavlin@google.com>
Thu, 5 May 2016 23:20:15 +0000 (16:20 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Fri, 6 May 2016 00:16:13 +0000 (00:16 +0000)
commit58318f48fc93afe606c77f3ef83c7bff83b65bf8
tree42ffb2923472dd60a46ab23409e90c3c368e74bf
parent6787eb828800e0a0999db3c947e54818bbc1c101
Call BTA_VendorCleanup() during actual cleanup of the stack

Previously, BTA_VendorCleanup() was called during the shutdown
process, and this created race condition crashing the stack.

Bug: 28450506
Change-Id: Ibee90d406036862b95d18e2ef00b08b820c70f68
btif/src/btif_core.cc
device/src/controller.c