From: Marcel Holtmann Date: Sun, 14 Dec 2008 02:38:13 +0000 (+0100) Subject: Don't apply filter to network devices X-Git-Tag: accepted/2.0alpha-wayland/20121110.002834~4445 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc737fc9212cd4af3f903cb49a9a271c83e767d4;p=profile%2Fivi%2Fconnman.git Don't apply filter to network devices --- diff --git a/src/element.c b/src/element.c index 375b871..e082229 100644 --- 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,