* [PATCH] android/gatt: Fix incorrect usage of bt_uuid_to_uuid128
@ 2014-03-26 16:08 Grzegorz Kolodziejczyk
2014-03-27 14:51 ` Szymon Janc
0 siblings, 1 reply; 2+ messages in thread
From: Grzegorz Kolodziejczyk @ 2014-03-26 16:08 UTC (permalink / raw)
To: linux-bluetooth
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] android/gatt: Fix incorrect usage of bt_uuid_to_uuid128
2014-03-26 16:08 [PATCH] android/gatt: Fix incorrect usage of bt_uuid_to_uuid128 Grzegorz Kolodziejczyk
@ 2014-03-27 14:51 ` Szymon Janc
0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2014-03-27 14:51 UTC (permalink / raw)
To: Grzegorz Kolodziejczyk; +Cc: linux-bluetooth
Hi Grzegorz,
On Wednesday 26 of March 2014 17:08:06 Grzegorz Kolodziejczyk wrote:
> ---
> 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
>
Applied, thanks.
--
Best regards,
Szymon Janc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-27 14:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-26 16:08 [PATCH] android/gatt: Fix incorrect usage of bt_uuid_to_uuid128 Grzegorz Kolodziejczyk
2014-03-27 14:51 ` Szymon Janc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).