Skip to contentSkip to conversation

android/health: Fix wrong parameter passing to android2bdaddr

PATCH In review Ravi kumar Veeramally 2 participants 2 messages Jun 17, 2014 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 android/health: Fix wrong parameter passing to android2bdaddr

---
 android/health.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
android/health.c +1 -1
index 585d8a4..58323d9 100644
@@ -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;
Signature · 1 line
1.9.1
#1 lore raw

Hi Ravi,

Quoted 10 lines · On Tuesday 17 of June 2014 15:53:27 Ravi kumar Veeramally wrote:
---
 android/health.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
android/health.c +0 -0
index 585d8a4..58323d9 100644

android/health.c static struct health_device *create_device(uint16_t app_id, · line 1108

Quoted 8 lines
android/health.c +1 -1
@@ -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.

Signature · 2 lines
Best regards, 
Szymon Janc