Parent: e253e59b13630bfcd9c4da1baec14b1372f2af1c
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-07-18 10:56:00
Tree: c3ee6a7ee58985af3441379346fa342def934e1c
core: Make pairable mode dependent on the existence of a default agent This patch updates the adapter code to only enable pairable mode when there is a default agent available. A new main.conf option called AlwaysPairable is also introduced to allow keeping the old behavior, however the default is the new behavior (i.e. this option defaults to FALSE).
Diffstat
| M | src/adapter.c | | | 23 | +++++++++++++++++++++- - |
| M | src/agent.c | | | 4 | ++++ |
| M | src/hcid.h | | | 1 | + |
| M | src/main.c | | | 10 | ++++++++++ |
| M | src/main.conf | | | 5 | +++++ |
5 files changed, 41 insertions(+), 2 deletions(-)