From: Arman Uguray <armansito@chromium.org>
To: linux-bluetooth@vger.kernel.org
Cc: Arman Uguray <armansito@chromium.org>
Subject: [PATCH v1 0/1] shared/att: Handle disconnects.
Date: Fri, 8 Aug 2014 18:46:08 -0700 [thread overview]
Message-ID: <1407548769-5903-1-git-send-email-armansito@chromium.org> (raw)
*v1: The code now destroys the underlying io structure on timeouts and
disconnects. In the disconnect case, the io_destroy job is posted on the
mainloop to prevent the io from being deallocated in the middle of its
internal event handler.
In the timeout case, the io_destroy call will clean up the underlying
connection only if bt_att_set_close_on_unref was called on the bt_att
structure earlier.
Arman Uguray (1):
shared/att: Handle disconnects.
src/shared/att.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++---------
src/shared/att.h | 5 +++
2 files changed, 97 insertions(+), 16 deletions(-)
--
2.0.0.526.g5318336
next reply other threads:[~2014-08-09 1:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-09 1:46 Arman Uguray [this message]
2014-08-09 1:46 ` [PATCH v1 1/1] shared/att: Handle disconnects Arman Uguray
2014-08-11 7:24 ` Johan Hedberg
2014-08-11 21:21 ` Arman Uguray
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=1407548769-5903-1-git-send-email-armansito@chromium.org \
--to=armansito@chromium.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