From: Johan Hedberg <johan.hedberg@gmail.com>
To: Hemant Gupta <hemant.gupta@stericsson.com>
Cc: linux-bluetooth@vger.kernel.org,
Hemant Gupta <hemantgupta.ste@gmail.com>
Subject: Re: [PATCH] Bluetooth: Send Connect failed event when LE Connection fails
Date: Thu, 5 Apr 2012 14:04:52 +0300 [thread overview]
Message-ID: <20120405110452.GA1654@x220> (raw)
In-Reply-To: <1333615989-15979-1-git-send-email-hemant.gupta@stericsson.com>
Hi Hemant,
On Thu, Apr 05, 2012, Hemant Gupta wrote:
> This patch adds management connect failed event when LE Create Connection
> Command fails to inform BlueZ that LE Connection failed to get established.
s/BlueZ/user space/
Also change the summary line to:
Bluetooth: mgmt: Fix missing connect failed event for LE
> --- a/net/bluetooth/hci_event.c
> +++ b/net/bluetooth/hci_event.c
> @@ -1649,6 +1649,8 @@ static void hci_cs_le_create_conn(struct hci_dev *hdev, __u8 status)
> if (status) {
> if (conn && conn->state == BT_CONNECT) {
> conn->state = BT_CLOSED;
> + mgmt_connect_failed(hdev, &cp->peer_addr, conn->type,
> + conn->dst_type, status);
> hci_proto_connect_cfm(conn, status);
> hci_conn_del(conn);
> }
Please use our new alignment style for split lines, i.e. align with the
opening parenthesis.
Johan
next prev parent reply other threads:[~2012-04-05 11:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-05 8:53 [PATCH] Bluetooth: Send Connect failed event when LE Connection fails Hemant Gupta
2012-04-05 11:04 ` Johan Hedberg [this message]
2012-04-05 11:22 ` Hemant Gupta
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=20120405110452.GA1654@x220 \
--to=johan.hedberg@gmail.com \
--cc=hemant.gupta@stericsson.com \
--cc=hemantgupta.ste@gmail.com \
--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.