From: Marcel Holtmann <marcel@holtmann.org>
To: johan.hedberg@gmail.com
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH 2/2] Bluetooth: mgmt: Fix updating local name when powering on
Date: Fri, 02 Mar 2012 15:26:58 -0800 [thread overview]
Message-ID: <1330730818.3392.130.camel@aeonflux> (raw)
In-Reply-To: <1330727590-27120-2-git-send-email-johan.hedberg@gmail.com>
Hi Johan,
> When powering on we need to apply whatever name has been set through
> mgmt_set_local_name. The appropriate place for this is mgmt_powered()
> and not hci_setup() since this needs to be applied also if the HCI init
> sequence was already completed but the adapter was still "powered off"
> from a mgmt perspective due the the HCI_AUTO_OFF still being set.
>
> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
> ---
> net/bluetooth/hci_event.c | 8 --------
> net/bluetooth/mgmt.c | 22 ++++++++++++++--------
> 2 files changed, 14 insertions(+), 16 deletions(-)
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Regards
Marcel
next prev parent reply other threads:[~2012-03-02 23:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-02 22:33 [PATCH 1/2] Bluetooth: Remove HCI_PI_MGMT_INIT flag for sockets johan.hedberg
2012-03-02 22:33 ` [PATCH 2/2] Bluetooth: mgmt: Fix updating local name when powering on johan.hedberg
2012-03-02 23:26 ` Marcel Holtmann [this message]
2012-03-02 23:25 ` [PATCH 1/2] Bluetooth: Remove HCI_PI_MGMT_INIT flag for sockets 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=1330730818.3392.130.camel@aeonflux \
--to=marcel@holtmann.org \
--cc=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).