From: Johan Hedberg <johan.hedberg@gmail.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH v2] Bluetooth: Only keep controller up after init if powered on
Date: Tue, 21 Feb 2012 14:21:36 +0200 [thread overview]
Message-ID: <20120221122136.GA31177@x220> (raw)
In-Reply-To: <1329822865-12312-1-git-send-email-marcel@holtmann.org>
Hi Marcel,
On Tue, Feb 21, 2012, Marcel Holtmann wrote:
> When a new controller gets added to the system, it needs to be brought
> up briefly to read basic information like features, BD_ADDR etc. and
> after a timeout it will be brought back down.
>
> The only command that should overwrite this timeout is the set power
> command from the management interface. Just reading the controller
> list or information is not a good reason to keep the controller up.
>
> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
> ---
> net/bluetooth/mgmt.c | 23 ++++++++++++++---------
> 1 files changed, 14 insertions(+), 9 deletions(-)
Applied to my bluetooth-next tree. Thanks.
Johan
prev parent reply other threads:[~2012-02-21 12:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-21 11:14 [PATCH v2] Bluetooth: Only keep controller up after init if powered on Marcel Holtmann
2012-02-21 12:21 ` 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=20120221122136.GA31177@x220 \
--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;
as well as URLs for NNTP newsgroup(s).