From: Ville Tervo <ville.tervo@nokia.com>
To: ext Anderson Briglia <anderson.briglia@openbossa.org>
Cc: "linux-bluetooth@vger.kernel.org"
<linux-bluetooth@vger.kernel.org>,
Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Subject: Re: [PATCH 5/6] Bluetooth: Fix initiated LE connections
Date: Tue, 26 Oct 2010 12:28:51 +0300 [thread overview]
Message-ID: <20101026092851.GD15050@null> (raw)
In-Reply-To: <1287791820-22693-6-git-send-email-anderson.briglia@openbossa.org>
Hi,
On Sat, Oct 23, 2010 at 01:56:59AM +0200, ext Anderson Briglia wrote:
> From: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
>
> Fix LE connections not being marked as master.
>
> Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
> ---
> net/bluetooth/hci_conn.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c
> index c7309e4..1a48c6a 100644
> --- a/net/bluetooth/hci_conn.c
> +++ b/net/bluetooth/hci_conn.c
> @@ -52,6 +52,7 @@ void hci_le_connect(struct hci_conn *conn)
>
> conn->state = BT_CONNECT;
> conn->out = 1;
> + conn->link_mode |= HCI_LM_MASTER;
conn->out and conn->link_mode are redutant information. The role cannot be changed.
>
> memset(&cp, 0, sizeof(cp));
> cp.scan_interval = cpu_to_le16(0x0004);
> --
> 1.7.0.4
--
Ville
prev parent reply other threads:[~2010-10-26 9:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-22 23:56 [PATCH 5/6] Bluetooth: Fix initiated LE connections Anderson Briglia
2010-10-26 9:28 ` Ville Tervo [this message]
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=20101026092851.GD15050@null \
--to=ville.tervo@nokia.com \
--cc=anderson.briglia@openbossa.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=vinicius.gomes@openbossa.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).