projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
217cb1c
)
wifi: Remove interfaces from the bridge when disabling tethering
author
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 21 Feb 2011 20:32:54 +0000
(21:32 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 21 Feb 2011 20:32:54 +0000
(21:32 +0100)
plugins/wifi.c
patch
|
blob
|
history
diff --git
a/plugins/wifi.c
b/plugins/wifi.c
index
78da6ac
..
b943a25
100644
(file)
--- a/
plugins/wifi.c
+++ b/
plugins/wifi.c
@@
-1007,8
+1007,12
@@
static int tech_set_tethering(struct connman_technology *technology,
for (list = iface_list; list; list = list->next) {
wifi = list->data;
- if (wifi->tethering == TRUE)
+ if (wifi->tethering == TRUE)
{
wifi->tethering = FALSE;
+
+ connman_inet_remove_from_bridge(wifi->index,
+ bridge);
+ }
}
connman_technology_tethering_notify(technology, FALSE);