OSDN Git Service

Eliminate recursive calling when handling GATT related errors
authorPavlin Radoslavov <pavlin@google.com>
Sat, 5 Sep 2015 00:55:09 +0000 (17:55 -0700)
committerScott James Remnant <keybuk@google.com>
Mon, 19 Oct 2015 17:35:05 +0000 (10:35 -0700)
commit7b4fdb40e81a68d254f6bf7cefbc385d978fb9d0
tree6e934a05e47bdffe6c469a08a992b406865e0e30
parentaafe557b56f2fb97a9d96a86bef8b4d6886cc6b3
Eliminate recursive calling when handling GATT related errors

If there are errors when processing GATT related events (e.g.,
configuring the MTU), don't use recursive calls into
bta_gattc_sm_execute(), because it breaks the free-ing of some
of the memory.

Bug: 23756301
Change-Id: I3c685170e868ffbf4e488d2bb5a31904e3f7b39d
bta/gatt/bta_gattc_act.c