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