Re: [PATCH] Add heartrate monitoring LE device to auto connect list.

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

 



Hi Damjan,

On Mon, Jan 28, 2013, Damjan Cvetko wrote:
> ---
>  profiles/heartrate/heartrate.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/profiles/heartrate/heartrate.c b/profiles/heartrate/heartrate.c
> index 5c56d3f..1788d4f 100644
> --- a/profiles/heartrate/heartrate.c
> +++ b/profiles/heartrate/heartrate.c
> @@ -801,6 +801,8 @@ static int heartrate_device_register(struct btd_device *device,
>  	hr->attioid = btd_device_add_attio_callback(device, attio_connected_cb,
>  						attio_disconnected_cb, hr);
>  
> +	device_set_auto_connect(device, TRUE);
> +
>  	return 0;
>  }

This patch isn't needed anymore since btd_device_add_attio_callback was
fixed to enable the auto connecting. Please verify that latest git works
for you.

Johan
--
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