From: Marcel Holtmann <marcel@holtmann.org>
To: Hemant Gupta <hemant.gupta@stericsson.com>
Cc: linux-bluetooth@vger.kernel.org,
Naresh Gupta <naresh.gupta@stericsson.com>,
Hemant Gupta <hemantgupta.ste@gmail.com>
Subject: Re: [PATCH] Bluetooth: Fix packet type for ESCO Link
Date: Tue, 03 Apr 2012 05:51:06 -0700 [thread overview]
Message-ID: <1333457466.1870.281.camel@aeonflux> (raw)
In-Reply-To: <1333446416-8129-1-git-send-email-hemant.gupta@stericsson.com>
Hi Hemant,
> This patch fixes the packet type for ESCO Link which was incorrectly
> set for EDR ESCO Packet Types.
>
> Signed-off-by: Hemant Gupta <hemant.gupta@stericsson.com>
> ---
> net/bluetooth/hci_conn.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c
> index 947172b..bff6bc1 100644
> --- a/net/bluetooth/hci_conn.c
> +++ b/net/bluetooth/hci_conn.c
> @@ -396,7 +396,7 @@ struct hci_conn *hci_conn_add(struct hci_dev *hdev, int type, bdaddr_t *dst)
> conn->pkt_type = hdev->pkt_type & SCO_PTYPE_MASK;
> break;
> case ESCO_LINK:
> - conn->pkt_type = hdev->esco_type & ~EDR_ESCO_MASK;
> + conn->pkt_type = hdev->esco_type ^ ~EDR_ESCO_MASK;
> break;
> }
>
please have a commit messages that actually describes the problem. I
honestly don't see what is broken and what you are trying to fix here.
Regards
Marcel
next prev parent reply other threads:[~2012-04-03 12:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-03 9:46 [PATCH] Bluetooth: Fix packet type for ESCO Link Hemant Gupta
2012-04-03 12:51 ` Marcel Holtmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-04-04 5:38 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=1333457466.1870.281.camel@aeonflux \
--to=marcel@holtmann.org \
--cc=hemant.gupta@stericsson.com \
--cc=hemantgupta.ste@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=naresh.gupta@stericsson.com \
/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).