diff options
| author | Jakub Tyszkowski <jakub.tyszkowski@tieto.com> | 2014-03-25 13:53:00 +0100 |
|---|---|---|
| committer | Szymon Janc <szymon.janc@tieto.com> | 2014-03-25 14:05:28 +0100 |
| commit | 58e3ca95d2cd6e3917ec57378c874465f4f70a68 (patch) | |
| tree | 51633b9845582ea7491f1c308f35fda2937e827b | |
| parent | 3c47042681a2f3b333a9ca47833656ed5d6b3671 (diff) | |
| download | bluez-58e3ca95d2cd6e3917ec57378c874465f4f70a68.tar.gz | |
android/hal-gatt: Fix sending wrong gatt_id struct
| -rw-r--r-- | android/hal-gatt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/hal-gatt.c b/android/hal-gatt.c index bd6157675..8a8ce9c09 100644 --- a/android/hal-gatt.c +++ b/android/hal-gatt.c @@ -676,7 +676,7 @@ static bt_status_t get_descriptor(int conn_id, btgatt_srvc_id_t *srvc_id, cmd->number = 1; if (start_descr_id) { - gatt_id_to_hal(&cmd->gatt_id[1], char_id); + gatt_id_to_hal(&cmd->gatt_id[1], start_descr_id); len += sizeof(cmd->gatt_id[1]); cmd->number++; } |
