summaryrefslogtreecommitdiff
path: root/android/health.c
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2014-06-26 10:14:52 +0300
committerSzymon Janc <szymon.janc@tieto.com>2014-06-26 09:42:55 +0200
commite181b40d7c65b75d3a81b6b5be9d4e6130625791 (patch)
tree4a8c65ff9ba3b07e0e94109894b4d7ff9300da29 /android/health.c
parent8cdfae35c1e842391231b3301208a7f71e13c452 (diff)
downloadbluez-e181b40d7c65b75d3a81b6b5be9d4e6130625791.tar.gz
android/health: Fix setting wrong PSM for SDP record
Diffstat (limited to 'android/health.c')
-rw-r--r--android/health.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/health.c b/android/health.c
index 7281dd5b5..4838c65ee 100644
--- a/android/health.c
+++ b/android/health.c
@@ -387,7 +387,7 @@ static int register_service_additional_protocols(sdp_record_t *rec,
if (!l2cap_list)
goto fail;
- dcpsm = mcap_get_ctrl_psm(mcap, &err);
+ dcpsm = mcap_get_data_psm(mcap, &err);
if (err)
goto fail;