Commit: 8aa494f4c08cfaf3d7764642baff6622960459fc
Parent: 72a76bb64bda0652a7ee4623f3fcf458b6c70a83
Author: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-08-25 12:31:58
Tree: 86dc5beb36d3644d934ee9d2ad4e4cadbdb9b132

android/health: Remove mcl instance on mcl_disconnected call back MCAP library is maintaining two sets of mcl list. On mcl_disconnected call mcl instance is removed from regular mcl list and cached in mcl_cache list. health.c doesn't maintain any cached mcls list. So mcl_conn variable doesn't make any sense of not being connected on mcl_disconnected call back. So unref mcl on mcl_disconnected and don't do anything in mcl_unached callback.

Diffstat

M android/health.c | 17 +++- - - - - - - - - - - - - -

1 files changed, 3 insertions(+), 14 deletions(-)

View Full Diff | Patch