summaryrefslogtreecommitdiff
path: root/profiles/health
diff options
context:
space:
mode:
authorAndre Guedes <andre.guedes@openbossa.org>2014-02-07 19:27:58 -0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-02-17 13:42:19 +0200
commit03fe42f7b1371c0c57afb1d12a99622525754f80 (patch)
treeac944b7ce38be85f60017787991a1dfabf5bac5d /profiles/health
parent9c1a62da5413167a3239400e1f1b113a8e754cfb (diff)
downloadbluez-03fe42f7b1371c0c57afb1d12a99622525754f80.tar.gz
health: Fix HealthDevice dbus registration
For some reason, HealthDevice property table wasn't been registered.
Diffstat (limited to 'profiles/health')
-rw-r--r--profiles/health/hdp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/profiles/health/hdp.c b/profiles/health/hdp.c
index 622d95b00..48dad52c8 100644
--- a/profiles/health/hdp.c
+++ b/profiles/health/hdp.c
@@ -2145,7 +2145,8 @@ static struct hdp_device *create_health_device(struct btd_device *device)
if (!g_dbus_register_interface(btd_get_dbus_connection(),
path, HEALTH_DEVICE,
health_device_methods,
- health_device_signals, NULL,
+ health_device_signals,
+ health_device_properties,
dev, health_device_destroy)) {
error("D-Bus failed to register %s interface", HEALTH_DEVICE);
goto fail;