summaryrefslogtreecommitdiff
path: root/src/notifier.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-07-03 10:21:52 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-07-03 10:21:52 +0200
commitcd9553812a30cdbb7d30731d84cc90a8d4463156 (patch)
treedce8aca070bce3648e4cc7effed13524d41a04e1 /src/notifier.c
parent5de3cf4ef49b9a66866bd8bd0cdcfaaf767577c9 (diff)
downloadconnman-cd9553812a30cdbb7d30731d84cc90a8d4463156.tar.gz
connman-cd9553812a30cdbb7d30731d84cc90a8d4463156.tar.bz2
connman-cd9553812a30cdbb7d30731d84cc90a8d4463156.zip
Add initial bits and pieces for Tethering support
Diffstat (limited to 'src/notifier.c')
-rw-r--r--src/notifier.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/notifier.c b/src/notifier.c
index 95794ac1..7871ffb8 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -362,10 +362,15 @@ 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;