Commit: 85fada0d4d1f1284748bcd4c5b9102c5f0710785
Parent: 230abac0270147c5b224715dd749e798b21962ec
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-10-09 19:35:45
Tree: 5b51f405443060bebe0dcdf77d237e7f63f37087

Simplify checking if found device is legacy This simplify code by removing pairing_is_legacy() function which was always returning FALSE due to EIR being always present with mgmt interface (this also fix small issue when first DeviceFound signal emitted for legacy device was having LegacyPairing set to false). Instead of using btd_event_set_legacy_pairing to set legacy pairing in remote_dev_info handle it in similar way to rssi.

Diffstat

M src/adapter.c | 52 ++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M src/adapter.h | 6 +++- - -
M src/event.c | 22 +++- - - - - - - - - - - - - - - - - - -
M src/event.h | 4 ++- -
M src/mgmt.c | 11 +++- - - - - - - -

5 files changed, 23 insertions(+), 72 deletions(-)

View Full Diff | Patch