All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Damjan Cvetko <damjan.cvetko@monotek.net>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Add heartrate monitoring LE device to auto connect list.
Date: Tue, 29 Jan 2013 17:36:06 -0600	[thread overview]
Message-ID: <20130129233606.GA16365@x220> (raw)
In-Reply-To: <1359408442-8002-1-git-send-email-damjan.cvetko@monotek.net>

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

  reply	other threads:[~2013-01-29 23:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-28 21:27 [PATCH] Add heartrate monitoring LE device to auto connect list Damjan Cvetko
2013-01-29 23:36 ` Johan Hedberg [this message]
2013-02-01 13:39   ` Damjan Cvetko
2013-02-01 16:11     ` Johan Hedberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130129233606.GA16365@x220 \
    --to=johan.hedberg@gmail.com \
    --cc=damjan.cvetko@monotek.net \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.