From e181b40d7c65b75d3a81b6b5be9d4e6130625791 Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Thu, 26 Jun 2014 10:14:52 +0300 Subject: [PATCH] android/health: Fix setting wrong PSM for SDP record --- android/health.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3