OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcab4df
)
core: Fix checking profiles with no local_uuid
author
Johan Hedberg
<johan.hedberg@intel.com>
Sun, 18 Nov 2012 21:16:28 +0000
(23:16 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Sun, 18 Nov 2012 21:16:28 +0000
(23:16 +0200)
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
d4d649b
..
bc78fa7
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-1283,7
+1283,7
@@
static struct btd_profile *find_connectable_profile(struct btd_device *dev,
for (l = dev->profiles; l != NULL; l = g_slist_next(l)) {
struct btd_profile *p = l->data;
- if (!p->connect)
+ if (!p->connect
|| !p->local_uuid
)
continue;
if (strcasecmp(uuid, p->local_uuid) == 0)