All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Padovan <gustavo@padovan.org>
To: Hemant Gupta <hemant.gupta@stericsson.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Bluetooth: Update L2CAP Channel State for LE Link during Pairing
Date: Thu, 19 Apr 2012 11:03:08 -0300	[thread overview]
Message-ID: <20120419140308.GA4127@joana> (raw)
In-Reply-To: <1334724874-3086-1-git-send-email-hemant.gupta@stericsson.com>

Hi Hemant,

* Hemant Gupta <hemant.gupta@stericsson.com> [2012-04-18 10:24:34 +0530]:

> This patch updates the L2CAP Channel state to Connected when LE Link
> is established, so that data transmission can start on CID 4.
> Without this fix if remote side sends data on CID 4 immidiately after
> LE Link was established, data was being discarded in l2cap_att_channel()
> API because channel state was still BT_CONNECT when SMP pairing is in
> progress. This was resulting in disconnection from remote side after 30 seconds
> since ATT request was not answered by user space as data was discarded.

I'm not too familiar with all LE specifications, but doesn't this initial
data need to be secured? If the channel is not secure (the pairing has
not finished yet) and we may be transmitting in a not secure enough place.

	Gustavo

  reply	other threads:[~2012-04-19 14:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-18  4:54 [PATCH] Bluetooth: Update L2CAP Channel State for LE Link during Pairing Hemant Gupta
2012-04-19 14:03 ` Gustavo Padovan [this message]
2012-04-19 15:41   ` 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=20120419140308.GA4127@joana \
    --to=gustavo@padovan.org \
    --cc=hemant.gupta@stericsson.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.