summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ethernet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ethernet.c b/plugins/ethernet.c
index 50442fcd..2ccd4989 100644
--- a/plugins/ethernet.c
+++ b/plugins/ethernet.c
@@ -234,11 +234,11 @@ static void enable_tethering(struct connman_technology *technology,
for (list = cdc_interface_list; list; list = list->next) {
int index = GPOINTER_TO_INT(list->data);
+ connman_technology_tethering_notify(technology, TRUE);
+
connman_inet_ifup(index);
connman_inet_add_to_bridge(index, bridge);
-
- connman_technology_tethering_notify(technology, TRUE);
}
}