diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2011-09-02 13:34:52 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-09-12 11:40:49 +0200 |
commit | 968b95337f2c6cdfaf6447c417e8a7cac57ac565 (patch) | |
tree | fa99fe9c679e701d347e1e5546e231627deaa4ea /src/technology.c | |
parent | bf7f9ce0e205019f7b22108340bdc910f7534ca6 (diff) | |
download | connman-968b95337f2c6cdfaf6447c417e8a7cac57ac565.tar.gz connman-968b95337f2c6cdfaf6447c417e8a7cac57ac565.tar.bz2 connman-968b95337f2c6cdfaf6447c417e8a7cac57ac565.zip |
technology: When disabling technology, disble tethering too
Diffstat (limited to 'src/technology.c')
-rw-r--r-- | src/technology.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/technology.c b/src/technology.c index 3b24917e..f8891b8d 100644 --- a/src/technology.c +++ b/src/technology.c @@ -925,6 +925,9 @@ int __connman_technology_disable(enum connman_service_type type, DBusMessage *ms goto done; } + if (technology->tethering == TRUE) + set_tethering(technology, FALSE); + if (msg != NULL) { technology->pending_reply = dbus_message_ref(msg); technology->enable_persistent = FALSE; |