OSDN Git Service

Add security record for devices found through LE batch scan
authorAndre Eisenbach <eisenbach@google.com>
Wed, 14 Sep 2016 19:41:37 +0000 (12:41 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Fri, 16 Sep 2016 00:27:38 +0000 (17:27 -0700)
commitb4a5ec958fbea79dc4603b1f0a2497009bc59983
treed29c7ee312cf71e37c61fc5222f08390ad60d47d
parenta1e4dd95ea389036c9e59872de09059726723fb4
Add security record for devices found through LE batch scan

Currently, starting an LE batch scan are not added to the stack internal
device database, which means that the address type and device type
needed for a connection are not available.

This patch ensures that devices found during an LE scan are added to the
device database to ensure connection attempts will succeed.

Bug: 31309376
Change-Id: Ic52d7eaa03d17dcbbd848af9140038bc84ea3bd0
(cherry picked from commit e0295e2c2eb7cc6eb331d581ed8455d6b30b3bc6)
stack/btm/btm_ble_batchscan.c