Return-Path: From: Ravi kumar Veeramally To: linux-bluetooth@vger.kernel.org Cc: Ravi kumar Veeramally Subject: [PATCH_v2 1/5] android/health: Fix wrong mdep config index Date: Mon, 23 Jun 2014 18:06:00 +0300 Message-Id: <1403535964-32644-1-git-send-email-ravikumar.veeramally@linux.intel.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: MDEP Id starts from 1, (0 value for Echo). HAL api sends mdep cfg index which starts from 0. --- android/health.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.9.1