projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acd5275
)
Make sure only matching device probe routines are called
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 8 Mar 2009 13:23:22 +0000
(14:23 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 8 Mar 2009 13:23:22 +0000
(14:23 +0100)
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
1657235
..
7bb9a40
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-654,6
+654,9
@@
static void probe_driver(struct connman_element *element, gpointer user_data)
if (element->device->driver != NULL)
return;
+ if (driver->type != element->device->type)
+ return 0;
+
if (driver->probe(element->device) < 0)
return;