summaryrefslogtreecommitdiff
path: root/android/bluetooth.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-08-15 14:02:52 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2014-08-15 14:02:52 +0300
commitb6bfed3c5b36066d63a6b128b672ea1e36a6cc97 (patch)
tree1e4bd2880950fa9c24d23ddb08880c8c9d380312 /android/bluetooth.c
parenteec3ccf63f220bc23b74484b965ca5bffc792acb (diff)
downloadbluez-b6bfed3c5b36066d63a6b128b672ea1e36a6cc97.tar.gz
android/bluetooth: Fix getting RFCOMM channel instead of L2CAP PSM
Diffstat (limited to 'android/bluetooth.c')
-rw-r--r--android/bluetooth.c2
1 files changed, 1 insertions, 1 deletions
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,