projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b62fdd5
)
Ignore network devices in generic driver
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 22 Dec 2008 07:28:51 +0000
(08:28 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 22 Dec 2008 07:28:51 +0000
(08:28 +0100)
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
f49c5e7
..
b70b95f
100644
(file)
--- 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;