Use __connman_device_get_service_type for getting service type
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 21 Sep 2010 14:38:53 +0000 (23:38 +0900)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 21 Sep 2010 14:38:53 +0000 (23:38 +0900)
src/element.c

index 264b5a7..3e745da 100644 (file)
@@ -273,7 +273,7 @@ static gboolean find_device(GNode *node, gpointer user_data)
        if (element->device == NULL)
                return FALSE;
 
-       if (data->type != connman_device_get_type(element->device))
+       if (data->type != __connman_device_get_service_type(element->device))
                return FALSE;
 
        data->device = element->device;