diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2011-12-22 15:35:46 +0200 |
---|---|---|
committer | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2012-01-05 10:55:56 +0100 |
commit | 939f1bd0099e647af2513bce4ef1b09585beabeb (patch) | |
tree | 83b5e3fe2840924cc09e04989ae0c80120cbaa39 /src/notifier.c | |
parent | 15a92493d36a0b8e00f23bd47a9ce5b9e304064e (diff) | |
download | connman-939f1bd0099e647af2513bce4ef1b09585beabeb.tar.gz connman-939f1bd0099e647af2513bce4ef1b09585beabeb.tar.bz2 connman-939f1bd0099e647af2513bce4ef1b09585beabeb.zip |
manager: Remove AvailableTechnologies and associated function
Diffstat (limited to 'src/notifier.c')
-rw-r--r-- | src/notifier.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/notifier.c b/src/notifier.c index 3862626a..3f91d318 100644 --- a/src/notifier.c +++ b/src/notifier.c @@ -77,23 +77,6 @@ static volatile int registered[MAX_TECHNOLOGIES]; static volatile int enabled[MAX_TECHNOLOGIES]; static volatile int connected[MAX_TECHNOLOGIES]; -void __connman_notifier_list_registered(DBusMessageIter *iter, void *user_data) -{ - int i; - - __sync_synchronize(); - for (i = 0; i < MAX_TECHNOLOGIES; i++) { - const char *type = __connman_service_type2string(i); - - if (type == NULL) - continue; - - if (registered[i] > 0) - dbus_message_iter_append_basic(iter, - DBUS_TYPE_STRING, &type); - } -} - void __connman_notifier_list_enabled(DBusMessageIter *iter, void *user_data) { int i; @@ -132,10 +115,6 @@ static void technology_registered(enum connman_service_type type, connman_bool_t registered) { DBG("type %d registered %d", type, registered); - - connman_dbus_property_changed_array(CONNMAN_MANAGER_PATH, - CONNMAN_MANAGER_INTERFACE, "AvailableTechnologies", - DBUS_TYPE_STRING, __connman_notifier_list_registered, NULL); } static void technology_enabled(enum connman_service_type type, |