summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/technology.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/technology.c b/src/technology.c
index f2143672..10e61328 100644
--- a/src/technology.c
+++ b/src/technology.c
@@ -1367,6 +1367,10 @@ int __connman_technology_remove_device(struct connman_device *device)
technology->device_list = g_slist_remove(technology->device_list,
device);
+
+ if (technology->tethering == TRUE)
+ set_tethering(technology, FALSE);
+
technology_put(technology);
return 0;