linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gustavo Padovan <gustavo@padovan.org>
To: Claudio Takahasi <claudio.takahasi@openbossa.org>,
	linux-bluetooth@vger.kernel.org,
	Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Subject: Re: [PATCH] Bluetooth: Fix SCO connection reference
Date: Thu, 11 Apr 2013 16:39:27 -0300	[thread overview]
Message-ID: <20130411193927.GE28775@joana> (raw)
In-Reply-To: <20130411193654.GB28775@joana>

* Gustavo Padovan <gustavo@padovan.org> [2013-04-11 16:36:54 -0300]:

> Hi Claudio,
> 
> * Claudio Takahasi <claudio.takahasi@openbossa.org> [2013-04-11 11:35:42 -0300]:
> 
> > This patch fixes decrementing SCO connection reference right after
> > stablishing the SCO connection with defer setup enabled. The dump below
> > shows a disconnection command with handle 0, the connection is still in
> > BT_CONNECT2 state and there isn't a handle associated with it.
> > 
> > < HCI Command: Accept Synchronous Connection (0x01|0x0029) plen 21
> >   bdaddr 78:47:1D:B3:72:6C
> > > HCI Event: Command Status (0x0f) plen 4
> >   Accept Synchronous Connection (0x01|0x0029) status 0x00 ncmd 1
> > < HCI Command: Disconnect (0x01|0x0006) plen 3
> >   handle 0 reason 0x13
> >   Reason: Remote User Terminated Connection
> > > HCI Event: Command Status (0x0f) plen 4
> >   Disconnect (0x01|0x0006) status 0x00 ncmd 1
> > > HCI Event: Synchronous Connect Complete (0x2c) plen 17
> >   status 0x00 handle 46 bdaddr 78:47:1D:B3:72:6C
> >   type eSCO
> >   Air mode: CVSD
> > < SCO data: handle 46 flags 0x00 dlen 48
> > 
> > Signed-off-by: Claudio Takahasi <claudio.takahasi@openbossa.org>
> > Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
> > ---
> >  net/bluetooth/hci_event.c | 1 -
> >  1 file changed, 1 deletion(-)
> 
> Patch has been applied to bluetooth-next. Thanks.

Actually I applied v1 of this patch.

	Gustavo

      reply	other threads:[~2013-04-11 19:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-11 14:35 [PATCH] Bluetooth: Fix SCO connection reference Claudio Takahasi
2013-04-11 14:35 ` [PATCH] Bluetooth: Add rejecting SCO Claudio Takahasi
2013-04-11 14:52   ` Anderson Lizardo
2013-04-11 16:54   ` [PATCH v1] " Claudio Takahasi
2013-04-11 19:44     ` Gustavo Padovan
2013-04-11 14:35 ` [PATCH] Bluetooth: Remove unneeded parameter Claudio Takahasi
2013-04-11 16:55   ` [PATCH v1] " Claudio Takahasi
2013-04-11 19:43     ` Gustavo Padovan
2013-04-11 14:35 ` [PATCH] Bluetooth: Use GFP_KERNEL in sco_conn_add Claudio Takahasi
2013-04-11 19:37   ` Gustavo Padovan
2013-04-11 14:35 ` [PATCH] Bluetooth: Minor coding style fix Claudio Takahasi
2013-04-11 19:38   ` Gustavo Padovan
2013-04-11 16:53 ` [PATCH v1] Bluetooth: Fix SCO connection reference Claudio Takahasi
2013-04-11 19:36 ` [PATCH] " Gustavo Padovan
2013-04-11 19:39   ` 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=20130411193927.GE28775@joana \
    --to=gustavo@padovan.org \
    --cc=claudio.takahasi@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).