From d9a94c8478156c97f9cca85d824964994a9b54bf Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Wed, 1 Feb 2012 18:51:45 +0100 Subject: tethering: Use notifier to update default interface. --- src/notifier.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/notifier.c') diff --git a/src/notifier.c b/src/notifier.c index 91b52ea6..dedea958 100644 --- a/src/notifier.c +++ b/src/notifier.c @@ -197,15 +197,10 @@ static void technology_default(enum connman_service_type type) void __connman_notifier_default_changed(struct connman_service *service) { enum connman_service_type type = connman_service_get_type(service); - char *interface; GSList *list; technology_default(type); - interface = connman_service_get_interface(service); - __connman_tethering_update_interface(interface); - g_free(interface); - for (list = notifier_list; list; list = list->next) { struct connman_notifier *notifier = list->data; -- cgit v1.2.3