summaryrefslogtreecommitdiff
path: root/src/profile.c
diff options
context:
space:
mode:
authorChristian Fetzer <christian.fetzer@bmw-carit.de>2013-05-21 17:26:24 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2013-05-22 12:31:13 -0700
commita43e6512ccc74fd5f01ce63c11bfc793ace5c894 (patch)
tree187a52309a320b87189aa1c19b99943a360b75af /src/profile.c
parent3b60c35aba3c1c4f140bea96c899aa2d0bfa4635 (diff)
downloadbluez-a43e6512ccc74fd5f01ce63c11bfc793ace5c894.tar.gz
profile: Fix incoming connections without SDP record
After commit 7bd3626b6715ac6a117d56b95b455960f7cf34de, incoming connections require the service being available from SDP. This is not always guaranteed because some services might not be listed in SDP (like MNS).
Diffstat (limited to 'src/profile.c')
-rw-r--r--src/profile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/profile.c b/src/profile.c
index 8fd042455..9f98d6527 100644
--- a/src/profile.c
+++ b/src/profile.c
@@ -1056,6 +1056,7 @@ static struct ext_io *create_conn(struct ext_io *server, GIOChannel *io,
return NULL;
}
+ btd_device_add_uuid(device, server->ext->remote_uuid);
service = btd_device_get_service(device, server->ext->remote_uuid);
if (service == NULL) {
ba2str(dst, addr);