Re: [PATCH_v2 1/5] android/health: Fix wrong mdep config index

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ravi,

On Monday 23 of June 2014 18:06:00 Ravi kumar Veeramally wrote:
> 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;
>  
> 

All patches applied, thanks.

-- 
Best regards, 
Szymon Janc
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux