public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Padovan <gustavo@padovan.org>
To: "João Paulo Rechi Vita" <jprvita@openbossa.org>
Cc: linux-bluetooth@vger.kernel.org, Ido Yariv <ido@wizery.com>,
	Arik Nemtsov <arik@wizery.com>
Subject: Re: [PATCH 1/2] Bluetooth: Search global l2cap channels by src/dst addresses
Date: Mon, 23 Apr 2012 09:47:20 -0300	[thread overview]
Message-ID: <20120423124720.GA18564@joana> (raw)
In-Reply-To: <1334947568-3437-1-git-send-email-jprvita@openbossa.org>

Hi João,

* João Paulo Rechi Vita <jprvita@openbossa.org> [2012-04-20 15:46:07 -0300]:

> From: Ido Yariv <ido@wizery.com>
> 
> The cid or psm and the source address might not be enough to uniquely
> identify a global channel, especially when the source address is our
> own.
> 
> For instance, when trying to communicate with two LE devices in master
> mode, data received from the both devices is sent to the same socket.
> 
> Fix this by taking the destination address into account when choosing
> the socket.
> 
> Signed-off-by: Ido Yariv <ido@wizery.com>
> Signed-off-by: Arik Nemtsov <arik@wizery.com>
> Tested-by: João Paulo Rechi Vita <jprvita@openbossa.org>
> ---
>  net/bluetooth/l2cap_core.c |   43 +++++++++++++++++++++++++++++++------------
>  1 files changed, 31 insertions(+), 12 deletions(-)

Patch has been applied, thanks.

	Gustavo

      parent reply	other threads:[~2012-04-23 12:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-20 18:46 [PATCH 1/2] Bluetooth: Search global l2cap channels by src/dst addresses João Paulo Rechi Vita
2012-04-20 18:46 ` [PATCH 2/2] Bluetooth: Add support for reusing the same hci_conn for LE links João Paulo Rechi Vita
2012-04-23 13:05   ` Gustavo Padovan
2012-04-23 12:47 ` Gustavo Padovan [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=20120423124720.GA18564@joana \
    --to=gustavo@padovan.org \
    --cc=arik@wizery.com \
    --cc=ido@wizery.com \
    --cc=jprvita@openbossa.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox