summaryrefslogtreecommitdiff
path: root/android/health.c
diff options
context:
space:
mode:
authorRavi kumar Veeramally <ravikumar.veeramally@linux.intel.com>2014-06-27 00:04:14 +0300
committerSzymon Janc <szymon.janc@tieto.com>2014-06-27 15:29:33 +0200
commit28fb4b17a8de47def58c788860a96f448c412b90 (patch)
treecfec4673a5971447f2bb17395a86408759430694 /android/health.c
parentbec4567faaa550da1abe3fae1ed21b8a6f1a347e (diff)
downloadbluez-28fb4b17a8de47def58c788860a96f448c412b90.tar.gz
android/health: Fix wrong user data passing in set_mcl_cb
It used to be channel, when set_mcl_cb refactored it got changed to channed->dev. commit 32180fa3a649ec26f9f3891a0ff5e4fe16592b91 introduced it.
Diffstat (limited to 'android/health.c')
-rw-r--r--android/health.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/health.c b/android/health.c
index 42c9a6e27..30a616698 100644
--- a/android/health.c
+++ b/android/health.c
@@ -1341,7 +1341,7 @@ static void create_mcl_cb(struct mcap_mcl *mcl, GError *err, gpointer data)
channel->dev->mcl_conn = true;
info("MCL connected");
- ret = set_mcl_cb(channel->dev->mcl, channel->dev, &gerr);
+ ret = set_mcl_cb(channel->dev->mcl, channel, &gerr);
if (!ret) {
error("health: error setting mdl callbacks: %s", gerr->message);
g_error_free(gerr);