--- health/hdp.c | 6 +++--- health/hdp_types.h | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/health/hdp.c b/health/hdp.c index cd344d0..e99e00a 100644 --- a/health/hdp.c +++ b/health/hdp.c @@ -964,11 +964,11 @@ int hdp_adapter_register(DBusConnection *conn, struct btd_adapter *btd_adapter) adapter = g_new0(struct hdp_adapter, 1); debug("HDP init"); - if (!g_dbus_register_interface(conn, path, HEALTH_MANAGER_INTERFACE, + if (!g_dbus_register_interface(conn, path, HEALTH_MANAGER, hdp_methods, NULL, NULL, adapter, hdp_path_unregister)) { error("Failed to register %s interface to %s", - HEALTH_MANAGER_INTERFACE, path); + HEALTH_MANAGER, path); g_free(adapter); return -1; } @@ -988,7 +988,7 @@ void hdp_adapter_unregister(struct btd_adapter *btd_adapter) g_dbus_unregister_interface(adapter->conn, adapter_get_path(btd_adapter), - HEALTH_MANAGER_INTERFACE); + HEALTH_MANAGER); dbus_connection_unref(adapter->conn); btd_adapter_unref(adapter->btd_adapter); adapters = g_slist_remove(adapters, adapter); diff --git a/health/hdp_types.h b/health/hdp_types.h index abbfbf3..aff116e 100644 --- a/health/hdp_types.h +++ b/health/hdp_types.h @@ -42,9 +42,10 @@ #define HDP_ERROR g_quark_from_static_string("hdp-error-quark") -#define HEALTH_MANAGER_INTERFACE "org.bluez.HealthAdapter" -#define HEALTH_DEVICE "org.bluez.HealthDevice" -#define HEALTH_LINK "org.bluez.HealthLink" +#define HEALTH_MANAGER "org.bluez.HealthAdapter" +#define HEALTH_DEVICE "org.bluez.HealthDevice" +#define HEALTH_LINK "org.bluez.HealthLink" +#define HEALTH_AGENT "org.bluez.HealthAgent" #define HDP_NO_PREFERENCE_DC 0x00 #define HDP_RELIABLE_DC 0x01 -- 1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html