Commit: 7aeeea795ada26ca8528143f340b4e58728a799f
Parent: 4211e2558e23d41a37d91bbe6331f9c81343e0cf
Author: Claudio Takahasi <claudio.takahasi@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-09-12 10:59:27
Tree: 3a4c07869bc43112dd134b6128ff15a86974e6fc

Fix loop when setting adapter name 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.

Diffstat

M plugins/adaptername.c | 6 +++- - -
M plugins/hciops.c | 2 +-
M plugins/mgmtops.c | 6 +++- - -
M src/adapter.c | 43 +++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - -
M src/adapter.h | 3 ++-

5 files changed, 32 insertions(+), 28 deletions(-)

View Full Diff | Patch