This email list is read-only. Emails sent to this list will be discarded ---------------------------------- plugins/udhcp.c | 2 +- src/device.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletions(-)
New commits: commit b32471b21a6d8583db0329b9f2c788e8611822e0 Author: Marcel Holtmann <[email protected]> Date: Mon Dec 22 08:28:51 2008 +0100 Ignore network devices in generic driver commit b62fdd5b4c9ce7ea5f9ff4280bc1433982ec37be Author: Marcel Holtmann <[email protected]> Date: Mon Dec 22 08:27:34 2008 +0100 Change udhcp plugin to fail driver binding Diff in this email is a maximum of 400 lines. diff --git a/plugins/udhcp.c b/plugins/udhcp.c index ccd2f58..dd7dd8c 100644 --- a/plugins/udhcp.c +++ b/plugins/udhcp.c @@ -31,7 +31,7 @@ static int udhcp_probe(struct connman_element *element) { DBG("element %p name %s", element, element->name); - return 0; + return -ENODEV; } static void udhcp_remove(struct connman_element *element) diff --git a/src/device.c b/src/device.c index f49c5e7..b70b95f 100644 --- a/src/device.c +++ b/src/device.c @@ -46,6 +46,9 @@ static int device_probe(struct connman_element *element) DBG("element %p name %s", element, element->name); + if (element->subtype == CONNMAN_ELEMENT_SUBTYPE_NETWORK) + return -ENODEV; + device = g_try_new0(struct connman_device, 1); if (device == NULL) return -ENOMEM; _______________________________________________ Commits mailing list [email protected] https://lists.moblin.org/mailman/listinfo/commits
