Commit: f4807c64e0fdfca2c546c13753257437a879c203
Parent: ed31ac59ecb6e4e15c350e44637c05d7ef58c019
Author: Mikel Astiz <mikel.astiz.oss@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-04-23 12:54:10
Tree: 88a6fa1c424d1c04c80bdb83d2aa06786f25ca64

core: Fix adapter mode inconsistency The mode change in btd_adapter_start() doesn't check if the adapter is discoverable, creating an inconsistency between the plugin and the core. Using the management interface it is easy to reproduce the problem, by starting BlueZ while the adapter is discoverable. After this, the state cannot be changed.

Diffstat

M src/adapter.c | 6 +++++-

1 files changed, 5 insertions(+), 1 deletions(-)

View Full Diff | Patch