[RFC] android/health: Fix setting wrong PSM for SDP record

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx>

---
 android/health.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/health.c b/android/health.c
index b07b11d..79d8055 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;
 
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux