From: Daniel Wagner <[email protected]>

---
 src/technology.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/technology.c b/src/technology.c
index fb28ca5..bb1ae2f 100644
--- a/src/technology.c
+++ b/src/technology.c
@@ -859,6 +859,9 @@ int __connman_technology_enable(enum connman_service_type 
type, DBusMessage *msg
 
        __connman_rfkill_block(technology->type, FALSE);
 
+       if (technology->driver->enable != NULL)
+               technology->driver->enable(technology);
+
        /*
         * An empty device list means that devices in the technology
         * were rfkill blocked. The unblock above will enable the devs.
@@ -966,6 +969,9 @@ int __connman_technology_disable(enum connman_service_type 
type, DBusMessage *ms
                        ret = 0;
        }
 
+       if (technology->driver->disable != NULL)
+               technology->driver->disable(technology);
+
 done:
        if (ret == 0) {
                if (msg != NULL)
-- 
1.7.8.110.g4cb5d1

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to