This email list is read-only.  Emails sent to this list will be discarded
----------------------------------
 plugins/netdev.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

New commits:
commit ab0ef99eace3bff348b56cef74c62a1b1cfdaf72
Author: Marcel Holtmann <[email protected]>
Date:   Mon Dec 15 00:55:10 2008 +0100

    Fix wrong subtype assignment within network devices


Diff in this email is a maximum of 400 lines.
diff --git a/plugins/netdev.c b/plugins/netdev.c
index 226d633..3e08534 100644
--- a/plugins/netdev.c
+++ b/plugins/netdev.c
@@ -41,6 +41,11 @@ static void create_element(struct connman_element *parent,
        element->type = type;
        element->index = parent->index;
 
+       if (parent->parent)
+               element->subtype = parent->parent->subtype;
+       else
+               element->subtype = CONNMAN_ELEMENT_SUBTYPE_UNKNOWN;
+
        connman_element_register(element, parent);
 }
 
_______________________________________________
Commits mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/commits

Reply via email to