From b6bfed3c5b36066d63a6b128b672ea1e36a6cc97 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 15 Aug 2014 14:02:52 +0300 Subject: [PATCH] android/bluetooth: Fix getting RFCOMM channel instead of L2CAP PSM --- android/bluetooth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/bluetooth.c b/android/bluetooth.c index ba68e9882..5f163f18b 100644 --- a/android/bluetooth.c +++ b/android/bluetooth.c @@ -1145,7 +1145,7 @@ static void find_remote_sdp_rec_cb(sdp_list_t *recs, int err, } if (!sdp_get_access_protos(sdp_rec, &protos)) { - channel = sdp_get_proto_port(protos, L2CAP_UUID); + channel = sdp_get_proto_port(protos, RFCOMM_UUID); sdp_list_foreach(protos, (sdp_list_func_t) sdp_list_free, -- 2.47.3