projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf7f9ce
)
technology: When disabling technology, disble tethering too
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Fri, 2 Sep 2011 10:34:52 +0000
(13:34 +0300)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 12 Sep 2011 09:40:49 +0000
(11:40 +0200)
src/technology.c
patch
|
blob
|
history
diff --git
a/src/technology.c
b/src/technology.c
index 3b24917e361f2683175f203a04ef6f423d7b758b..f8891b8d046cf0e1e4a94419bd13d8f2b72a40d7 100644
(file)
--- 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;