summaryrefslogtreecommitdiff
path: root/src/notifier.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-24 00:44:08 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-07-24 00:44:08 +0200
commit8bdd2e999bd2466908224a2e53b0b9ef77c52c90 (patch)
tree39c9142922408a22df40289fd894cf036f2970a0 /src/notifier.c
parent313c742d900ad04bd70230bf2bf59907b75b1aed (diff)
downloadconnman-8bdd2e999bd2466908224a2e53b0b9ef77c52c90.tar.gz
connman-8bdd2e999bd2466908224a2e53b0b9ef77c52c90.tar.bz2
connman-8bdd2e999bd2466908224a2e53b0b9ef77c52c90.zip
Fix notification to use service types instead of device types
Diffstat (limited to 'src/notifier.c')
-rw-r--r--src/notifier.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/notifier.c b/src/notifier.c
index cfd67502..2403e919 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -176,7 +176,7 @@ static void technology_registered(enum connman_service_type type,
g_dbus_send_message(connection, signal);
}
-static void technology_enabled(enum connman_device_type type,
+static void technology_enabled(enum connman_service_type type,
connman_bool_t enabled)
{
GSList *list;
@@ -212,8 +212,8 @@ done:
for (list = notifier_list; list; list = list->next) {
struct connman_notifier *notifier = list->data;
- if (notifier->device_enabled)
- notifier->device_enabled(type, enabled);
+ if (notifier->service_enabled)
+ notifier->service_enabled(type, enabled);
}
}