From: Johan Hedberg <johan.hedberg@gmail.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH 1/3] Bluetooth: Run controller setup after external configuration
Date: Sun, 6 Jul 2014 13:43:34 +0300 [thread overview]
Message-ID: <20140706104334.GA22860@t440s.Elisa> (raw)
In-Reply-To: <1404641476-24971-1-git-send-email-marcel@holtmann.org>
Hi Marcel,
On Sun, Jul 06, 2014, Marcel Holtmann wrote:
> When the external configuration triggers the switch to a configured
> controller, it means the setup needs to be run. Controllers that start
> out unconfigured have only run limited set of HCI commands. This is
> not enough for complete operation and thus run the setup procedure
> before announcing the new controller index.
>
> This introduces HCI_CONFIG flag as companion to HCI_SETUP flag. The
> HCI_SETUP flag is only used once for the initial setup procedure. And
> during that procedure hdev->setup driver callback is called. With the
> new HCI_CONFIG the switch from unconfigured to configured state is
> triggering the same setup procedure just without hdev->setup. This
> is required since bringing a controller back to unconfigured state
> from configured state is possible.
>
> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
> ---
> include/net/bluetooth/hci.h | 1 +
> net/bluetooth/hci_core.c | 17 ++++++++++++++---
> net/bluetooth/hci_sock.c | 3 ++-
> net/bluetooth/mgmt.c | 14 ++++++++++++--
> 4 files changed, 29 insertions(+), 6 deletions(-)
All three patches have been applied to bluetooth-next. Thanks.
Johan
prev parent reply other threads:[~2014-07-06 10:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-06 10:11 [PATCH 1/3] Bluetooth: Run controller setup after external configuration Marcel Holtmann
2014-07-06 10:43 ` 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=20140706104334.GA22860@t440s.Elisa \
--to=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.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