projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8393bbf
)
Add string conversion for network device subtype
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 16 Sep 2008 13:01:19 +0000
(15:01 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 16 Sep 2008 13:01:19 +0000
(15:01 +0200)
src/element.c
patch
|
blob
|
history
diff --git
a/src/element.c
b/src/element.c
index a9012b2d18c7f830a91053c69ee13ba5ab9c2dd3..3f697ea9a77f4a9d58dd17c41a64e3d228cbb6a0 100644
(file)
--- a/
src/element.c
+++ b/
src/element.c
@@
-122,6
+122,8
@@
static const char *subtype2string(enum connman_element_subtype type)
switch (type) {
case CONNMAN_ELEMENT_SUBTYPE_UNKNOWN:
return "unknown";
+ case CONNMAN_ELEMENT_SUBTYPE_NETWORK:
+ return "network";
case CONNMAN_ELEMENT_SUBTYPE_ETHERNET:
return "ethernet";
case CONNMAN_ELEMENT_SUBTYPE_WIFI: