linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH 00/10] Bluetooth: Fix mgmt cmd_complete events
Date: Fri,  5 Dec 2014 13:35:59 +0200	[thread overview]
Message-ID: <1417779369-6428-1-git-send-email-johan.hedberg@gmail.com> (raw)

Hi,

This patch set introduces an optional callback that can be set for
pending mgmt commands so that the generic places sending out these
events (powering off and removing adapters) can send out correct events
as specified in our mgmt-api.txt. A further benefit of having this
callback is that we fix memory leaks caused by hci_conn pointers being
stored as part of the pending command user data.

Johan

----------------------------------------------------------------
Johan Hedberg (10):
      Bluetooth: Add callback to create proper cmd_complete events
      Bluetooth: Store parameter length with pending mgmt commands
      Bluetooth: Convert Disconnect mgmt command to use cmd_complete callback
      Bluetooth: Use cmd_complete callback for authentication mgmt commands
      Bluetooth: Convert Pair Device to use cmd_complete callback
      Bluetooth: Convert Unpair Device to use cmd_complete callback
      Bluetooth: Convert discovery commands to use cmd_complete callback
      Bluetooth: Convert Get Clock Info to use cmd_complete callback
      Bluetooth: Fix initializing hci_conn RSSI to invalid value
      Bluetooth: Fix Get Conn Info to use cmd_complete callback

 net/bluetooth/hci_conn.c |   1 +
 net/bluetooth/mgmt.c     | 271 ++++++++++++++++++++++-----------------------
 2 files changed, 136 insertions(+), 136 deletions(-)



             reply	other threads:[~2014-12-05 11:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-05 11:35 Johan Hedberg [this message]
2014-12-05 11:36 ` [PATCH 01/10] Bluetooth: Add callback to create proper cmd_complete events Johan Hedberg
2014-12-05 11:36 ` [PATCH 02/10] Bluetooth: Store parameter length with pending mgmt commands Johan Hedberg
2014-12-05 11:36 ` [PATCH 03/10] Bluetooth: Convert Disconnect mgmt command to use cmd_complete callback Johan Hedberg
2014-12-05 11:36 ` [PATCH 04/10] Bluetooth: Use cmd_complete callback for authentication mgmt commands Johan Hedberg
2014-12-05 11:36 ` [PATCH 05/10] Bluetooth: Convert Pair Device to use cmd_complete callback Johan Hedberg
2014-12-05 11:36 ` [PATCH 06/10] Bluetooth: Convert Unpair " Johan Hedberg
2014-12-05 11:36 ` [PATCH 07/10] Bluetooth: Convert discovery commands " Johan Hedberg
2014-12-05 11:36 ` [PATCH 08/10] Bluetooth: Convert Get Clock Info " Johan Hedberg
2014-12-05 11:36 ` [PATCH 09/10] Bluetooth: Fix initializing hci_conn RSSI to invalid value Johan Hedberg
2014-12-05 11:36 ` [PATCH 10/10] Bluetooth: Fix Get Conn Info to use cmd_complete callback Johan Hedberg
2014-12-05 11:42   ` [PATCH v2 " Johan Hedberg
2014-12-05 11:50 ` [PATCH 00/10] Bluetooth: Fix mgmt cmd_complete events Marcel Holtmann

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=1417779369-6428-1-git-send-email-johan.hedberg@gmail.com \
    --to=johan.hedberg@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).