From ab6cea2c8f57f1b7b66513c988377854909d3cae Mon Sep 17 00:00:00 2001 From: Grzegorz Kolodziejczyk Date: Wed, 26 Mar 2014 17:08:06 +0100 Subject: [PATCH] android/gatt: Fix incorrect usage of bt_uuid_to_uuid128 --- android/gatt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/gatt.c b/android/gatt.c index 6354ac63b..04e972928 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 -- 2.47.3