summaryrefslogtreecommitdiff
path: root/android/hal-gatt.c
diff options
context:
space:
mode:
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>2014-04-17 01:10:30 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-04-17 10:45:59 +0200
commitd8d3c10d526eb5d85f90241510df789d7f4ca0e4 (patch)
treea52ff9bfba41e4d07ce3eebeeb80961b904f3680 /android/hal-gatt.c
parentb2df2b0145d91e1aebe67f1cdb1dda52e5841a87 (diff)
downloadbluez-d8d3c10d526eb5d85f90241510df789d7f4ca0e4.tar.gz
android/hal-gatt-api: Fix IPC definition for read_characteristic
Diffstat (limited to 'android/hal-gatt.c')
-rw-r--r--android/hal-gatt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/hal-gatt.c b/android/hal-gatt.c
index bcbeb5423..e805a82a8 100644
--- a/android/hal-gatt.c
+++ b/android/hal-gatt.c
@@ -785,7 +785,7 @@ static bt_status_t read_characteristic(int conn_id, btgatt_srvc_id_t *srvc_id,
cmd.auth_req = auth_req;
srvc_id_to_hal(&cmd.srvc_id, srvc_id);
- gatt_id_to_hal(&cmd.gatt_id, char_id);
+ gatt_id_to_hal(&cmd.char_id, char_id);
return hal_ipc_cmd(HAL_SERVICE_ID_GATT,
HAL_OP_GATT_CLIENT_READ_CHARACTERISTIC,