From: Johan Hedberg <johan.hedberg@gmail.com>
To: "Daniel Örstadius" <daniel.orstadius@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Handle unanswered AVDTP request on disconnect
Date: Wed, 10 Feb 2010 08:39:24 -0200 [thread overview]
Message-ID: <20100210103924.GA17473@jh-x301> (raw)
In-Reply-To: <eb7933e21002090851m4d3b41f9kfa2f578bb0e4f825@mail.gmail.com>
Hi Daniel,
On Tue, Feb 09, 2010, Daniel Örstadius wrote:
> From: Daniel Orstadius <daniel.orstadius@gmail.com>
> Date: Tue, 9 Feb 2010 18:23:50 +0200
> Subject: [PATCH] Handle unanswered AVDTP request on disconnect
>
> If the connection is lost when there is an AVDTP request the
> remote has not replied to and which has not timed out, then at
> least in some cases the callback for the request is not called
> leading to no Error response being sent on the Audio API.
>
> This patch checks if there is an outstanding request when the stream
> state goes to idle and in that case triggers the corresponding callback
> with an error.
> ---
> audio/avdtp.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
I applied the patch with a few minor cosmetic changes. Thanks.
Johan
prev parent reply other threads:[~2010-02-10 10:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-09 16:51 [PATCH] Handle unanswered AVDTP request on disconnect Daniel Örstadius
2010-02-10 10:39 ` Johan Hedberg [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=20100210103924.GA17473@jh-x301 \
--to=johan.hedberg@gmail.com \
--cc=daniel.orstadius@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 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).