[PATCH] android/gatt: Fix incorrect usage of bt_uuid_to_uuid128

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

 



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

diff --git a/android/gatt.c b/android/gatt.c
index 6354ac6..04e9729 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -970,7 +970,7 @@ static void cache_all_srvc_chars(GSList *characteristics, struct queue *q)
 		memcpy(&ch->ch, characteristics->data, sizeof(ch->ch));
 
 		bt_string_to_uuid(&uuid, ch->ch.uuid);
-		bt_uuid_to_uuid128(&ch->id.uuid, &uuid);
+		bt_uuid_to_uuid128(&uuid, &ch->id.uuid);
 
 		/* For now we increment inst_id and use it as characteristic
 		 * handle
-- 
1.8.5.2

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