All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Claudio Takahasi <claudio.takahasi@openbossa.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH BlueZ 1/2] Fix loop when setting adapter name
Date: Tue, 27 Sep 2011 11:27:30 +0300	[thread overview]
Message-ID: <20110927082730.GF3952@dell> (raw)
In-Reply-To: <1314981909-12966-1-git-send-email-claudio.takahasi@openbossa.org>

Hi Claudio,

On Fri, Sep 02, 2011, Claudio Takahasi wrote:
> When management interface is enabled, name changed event comes when the
> adapter is initialized as consequence of the Read Local Name. Use the
> same function to set and handle event causes looping when bluetoothd
> starts if the name stored in the controller is different from the name
> provided by the adapter name plugin.
> 
> Splitting the adapter_update_local_name also fix the PropertyChanged
> (for Name) signal being sent before AdapterAdded.
> ---
>  plugins/adaptername.c |    6 +++---
>  plugins/hciops.c      |    2 +-
>  plugins/mgmtops.c     |    6 +++---
>  src/adapter.c         |   43 +++++++++++++++++++++++--------------------
>  src/adapter.h         |    3 ++-
>  5 files changed, 32 insertions(+), 28 deletions(-)

Both patches applied. Thanks.

Johan

      parent reply	other threads:[~2011-09-27  8:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-02 16:45 [PATCH BlueZ 1/2] Fix loop when setting adapter name Claudio Takahasi
2011-09-02 16:45 ` [PATCH BlueZ 2/2] Prevents sending Write Local Name when not needed Claudio Takahasi
2011-09-27  8:27 ` 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=20110927082730.GF3952@dell \
    --to=johan.hedberg@gmail.com \
    --cc=claudio.takahasi@openbossa.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.