Diff between ee675de19144517500ebb267c7474e78071a22e5 and 5503e3ae0ee0444b17b5d4917902050cba8e5f81

Changed Files

File Additions Deletions Status
android/health.c +1 -1 modified

Full Patch

diff --git a/android/health.c b/android/health.c
index effa5e2..183608b 100644
--- a/android/health.c
+++ b/android/health.c
@@ -137,7 +137,7 @@ static void send_channel_state_notify(struct health_channel *channel,
 
 	bdaddr2android(&channel->dev->dst, ev.bdaddr);
 	ev.app_id = channel->dev->app_id;
-	ev.mdep_index = channel->mdep_id;
+	ev.mdep_index = channel->mdep_id - 1;
 	ev.channel_id = channel->id;
 	ev.channel_state = state;