summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-06-25 19:36:00 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2013-06-25 19:53:16 +0300
commit8dbf8864845e2d0bae4b487cdcb711e8d5bbda83 (patch)
tree8d1e4338c7a86396ad65a8c5a69252454443c076
parent455fb131f08cddc9759c877e38ebff3b4bd975b2 (diff)
downloadbluez-8dbf8864845e2d0bae4b487cdcb711e8d5bbda83.tar.gz
core: Fix not adding UUID found during pairing
This is a regression introduce by de63199f0c89fce76180edd40359fde4b13c54c1 where the list of UUID found is always empty thus causing no driver to be probed.
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index c324764a0..edd377ce4 100644
--- a/src/device.c
+++ b/src/device.c
@@ -2694,7 +2694,7 @@ static int update_record(struct browse_req *req, const char *uuid,
if (l == NULL) {
l = g_slist_find_custom(req->profiles_added, uuid,
bt_uuid_strcmp);
- if (l == NULL)
+ if (l != NULL)
return 0;
req->profiles_added = g_slist_append(req->profiles_added,
g_strdup(uuid));