summaryrefslogtreecommitdiff
path: root/profiles/health
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@gmail.com>2014-01-20 12:08:34 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2014-01-20 15:19:25 +0200
commitcada0c08967f828debfd53e1426253ae6cb99c42 (patch)
tree1f886018f89a38eeb26e8116d752992c8742ea92 /profiles/health
parentaf00880e63bde0d9433f7bedd2532fb67bc7f7a2 (diff)
downloadbluez-cada0c08967f828debfd53e1426253ae6cb99c42.tar.gz
core: Add flags parameter to bt_search_service
This allows to pass custom SDP flags to sdp_connect.
Diffstat (limited to 'profiles/health')
-rw-r--r--profiles/health/hdp_util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/profiles/health/hdp_util.c b/profiles/health/hdp_util.c
index 7de87a85e..b9a09e99d 100644
--- a/profiles/health/hdp_util.c
+++ b/profiles/health/hdp_util.c
@@ -864,7 +864,7 @@ gboolean hdp_get_mdep(struct hdp_device *device, struct hdp_application *app,
bt_string2uuid(&uuid, HDP_UUID);
if (bt_search_service(src, dst, &uuid, get_mdep_cb, mdep_data,
- free_mdep_data) < 0) {
+ free_mdep_data, 0) < 0) {
g_set_error(err, HDP_ERROR, HDP_CONNECTION_ERROR,
"Can't get remote SDP record");
g_free(mdep_data);
@@ -1092,7 +1092,7 @@ gboolean hdp_establish_mcl(struct hdp_device *device,
bt_string2uuid(&uuid, HDP_UUID);
if (bt_search_service(src, dst, &uuid, search_cb, conn_data,
- destroy_con_mcl_data) < 0) {
+ destroy_con_mcl_data, 0) < 0) {
g_set_error(err, HDP_ERROR, HDP_CONNECTION_ERROR,
"Can't get remote SDP record");
g_free(conn_data);
@@ -1161,7 +1161,7 @@ gboolean hdp_get_dcpsm(struct hdp_device *device, hdp_continue_dcpsm_f func,
bt_string2uuid(&uuid, HDP_UUID);
if (bt_search_service(src, dst, &uuid, get_dcpsm_cb, dcpsm_data,
- free_dcpsm_data) < 0) {
+ free_dcpsm_data, 0) < 0) {
g_set_error(err, HDP_ERROR, HDP_CONNECTION_ERROR,
"Can't get remote SDP record");
g_free(dcpsm_data);