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:
ca06438
)
technology: return a reply even if there are no devices in the technology list.
author
Alok Barsode
<alok.barsode@linux.intel.com>
Thu, 5 Jan 2012 12:41:11 +0000
(14:41 +0200)
committer
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Mon, 9 Jan 2012 15:07:37 +0000
(16:07 +0100)
src/technology.c
patch
|
blob
|
history
diff --git
a/src/technology.c
b/src/technology.c
index
b595e93
..
0cec893
100644
(file)
--- a/
src/technology.c
+++ b/
src/technology.c
@@
-892,8
+892,10
@@
int __connman_technology_enable(enum connman_service_type type, DBusMessage *msg
* An empty device list means that devices in the technology
* were rfkill blocked. The unblock above will enable the devs.
*/
- if (technology->device_list == NULL)
- return 0;
+ if (technology->device_list == NULL) {
+ ret = 0;
+ goto done;
+ }
for (list = technology->device_list; list; list = list->next) {
struct connman_device *device = list->data;