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:
d6b6fb3
)
Get device interface through the get_string() routine
author
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 15 Sep 2010 13:33:43 +0000
(15:33 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 20 Sep 2010 13:14:16 +0000
(15:14 +0200)
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
53d9a66
..
6a9bce6
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-1324,6
+1324,8
@@
const char *connman_device_get_string(struct connman_device *device,
return device->name;
else if (g_str_equal(key, "Node") == TRUE)
return device->node;
+ else if (g_str_equal(key, "Interface") == TRUE)
+ return device->interface;
return connman_element_get_string(&device->element, key);
}