From: Alok Barsode <[email protected]>
---
src/technology.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/technology.c b/src/technology.c
index fb28ca5..273a6dc 100644
--- a/src/technology.c
+++ b/src/technology.c
@@ -863,8 +863,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;
--
1.7.5.4
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman