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

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

 



---
 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

--
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