summaryrefslogtreecommitdiff
path: root/android/health.c
diff options
context:
space:
mode:
authorRavi kumar Veeramally <ravikumar.veeramally@linux.intel.com>2014-06-30 19:58:25 +0300
committerSzymon Janc <szymon.janc@gmail.com>2014-06-30 21:55:32 +0200
commit469e97b54e2512e801f522ee79def3e578006805 (patch)
tree02e5f1c40a37b9a1d70d35d8dfa82ed3da87672c /android/health.c
parentf13833fcb8acfeec490dfd9a3cb621006f794c56 (diff)
downloadbluez-469e97b54e2512e801f522ee79def3e578006805.tar.gz
android/health: Implement mcl_uncached callback
Diffstat (limited to 'android/health.c')
-rw-r--r--android/health.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/android/health.c b/android/health.c
index 1905862d9..7518dadcc 100644
--- a/android/health.c
+++ b/android/health.c
@@ -2026,7 +2026,12 @@ static void mcl_disconnected(struct mcap_mcl *mcl, gpointer data)
static void mcl_uncached(struct mcap_mcl *mcl, gpointer data)
{
- DBG("Not implemented");
+ struct health_device *dev;
+
+ DBG("");
+
+ dev = search_dev_by_mcl(mcl);
+ free_health_device(dev);
}
bool bt_health_register(struct ipc *ipc, const bdaddr_t *addr, uint8_t mode)