Re: [PATCH] client.c cleanup

Marcel Holtmann <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <1201630440.6218.31.camel@violet>
Hi Bastien,

> > > I think for most of those it would mean clearing the children of the
> > > adapters (removing them from the tree). Not sure what's wrong about the
> > > bdaddr not appearing for newly inserted devices though, probably just a
> > > missing call.
> > 
> > that is a bug or missing signal. Keeping the adapter allows us to keep
> > the D-Bus proxy object and will prevent from duplicate signals. Removing
> > the adapter would mean to also remove the signal handles etc. Seemed why
> > to ugly for me.
> 
> I'm talking about removing the children (ie. the devices), not the
> adapter itself. Which makes sense, as they shouldn't be associated with
> a non-existant adapter.

we can do that. Makes sense to me. Purge all children on adapter
removal.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.