diff --git a/android/hal-gatt.c b/android/hal-gatt.c
index 065c2f8..83183cc 100644
--- a/android/hal-gatt.c
+++ b/android/hal-gatt.c
static void handle_search_result(void *buf, uint16_t len)
{
struct hal_ev_gatt_client_search_result *ev = buf;
-
btgatt_srvc_id_t srvc_id;
+
srvc_id_from_hal(&srvc_id, &ev->srvc_id);
if (cbs->client->search_result_cb)
cbs->server->request_exec_write_cb(ev->conn_id, ev->trans_id,
(bt_bdaddr_t *) ev->bdaddr,
ev->exec_write);
-
}
static void handle_response_confirmation(void *buf, uint16_t len)