2014-06-17 12:53:27

by Ravi kumar Veeramally

[permalink] [raw]
Subject: [PATCH] android/health: Fix wrong parameter passing to android2bdaddr

---
android/health.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/health.c b/android/health.c
index 585d8a4..58323d9 100644
--- a/android/health.c
+++ b/android/health.c
@@ -1102,7 +1102,7 @@ static struct health_device *create_device(uint16_t app_id,
if (!dev)
return NULL;

- android2bdaddr(&addr, &dev->dst);
+ android2bdaddr(addr, &dev->dst);
dev->app_id = app_id;

return dev;
--
1.9.1



2014-06-17 13:10:09

by Szymon Janc

[permalink] [raw]
Subject: Re: [PATCH] android/health: Fix wrong parameter passing to android2bdaddr

Hi Ravi,

On Tuesday 17 of June 2014 15:53:27 Ravi kumar Veeramally wrote:
> ---
> android/health.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/android/health.c b/android/health.c
> index 585d8a4..58323d9 100644
> --- a/android/health.c
> +++ b/android/health.c
> @@ -1102,7 +1102,7 @@ static struct health_device *create_device(uint16_t app_id,
> if (!dev)
> return NULL;
>
> - android2bdaddr(&addr, &dev->dst);
> + android2bdaddr(addr, &dev->dst);
> dev->app_id = app_id;
>
> return dev;
>

Pushed. Thanks.

--
Best regards,
Szymon Janc