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:
5ac5845
)
Add debug message when device is ignored
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 16 Sep 2008 17:58:14 +0000
(19:58 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 16 Sep 2008 17:58:14 +0000
(19:58 +0200)
src/element.c
patch
|
blob
|
history
diff --git
a/src/element.c
b/src/element.c
index
3f697ea
..
4238bdf
100644
(file)
--- a/
src/element.c
+++ b/
src/element.c
@@
-957,8
+957,10
@@
int connman_element_register(struct connman_element *element,
DBG("element %p name %s parent %p", element, element->name, parent);
if (device_filter && element->type == CONNMAN_ELEMENT_TYPE_DEVICE) {
- if (g_str_equal(device_filter, element->name) == FALSE)
+ if (g_str_equal(device_filter, element->name) == FALSE) {
+ DBG("ignoring %s device", element->name);
return -EPERM;
+ }
}
if (connman_element_ref(element) == NULL)