summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/device.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c
index 9acbe334..52fae4ed 100644
--- a/src/device.c
+++ b/src/device.c
@@ -992,6 +992,13 @@ static void browse_cb(sdp_list_t *recs, int err, gpointer user_data)
return;
}
+ /* Search for l2cap uuid */
+ if (!req->records) {
+ sdp_uuid16_create(&uuid, L2CAP_UUID);
+ bt_search_service(&src, &dst, &uuid, search_cb, user_data, NULL);
+ return;
+ }
+
done:
search_cb(recs, err, user_data);
}