projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c634b10
)
Don't apply filter to network devices
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 14 Dec 2008 02:38:13 +0000
(
03:38
+0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 14 Dec 2008 02:38:13 +0000
(
03:38
+0100)
src/element.c
patch
|
blob
|
history
diff --git
a/src/element.c
b/src/element.c
index
375b871
..
e082229
100644
(file)
--- a/
src/element.c
+++ b/
src/element.c
@@
-1846,7
+1846,8
@@
int connman_element_register(struct connman_element *element,
if (element->devname == NULL)
element->devname = g_strdup(element->name);
- if (device_filter && element->type == CONNMAN_ELEMENT_TYPE_DEVICE) {
+ if (device_filter && element->type == CONNMAN_ELEMENT_TYPE_DEVICE &&
+ element->subtype != CONNMAN_ELEMENT_SUBTYPE_NETWORK) {
if (g_pattern_match_simple(device_filter,
element->devname) == FALSE) {
DBG("ignoring %s [%s] device", element->name,