Re: [PATCH] health: Fix HealthDevice dbus registration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andre,

On Sat, Feb 8, 2014 at 12:27 AM, Andre Guedes
<andre.guedes@xxxxxxxxxxxxx> wrote:
> For some reason, HealthDevice property table wasn't been registered.
> ---
>  profiles/health/hdp.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/profiles/health/hdp.c b/profiles/health/hdp.c
> index 622d95b..48dad52 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;
> --
> 1.8.5.3

Applied, thanks.


-- 
Luiz Augusto von Dentz
--
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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux