diff options
author | Jakub Pawlowski <jpawlowski@google.com> | 2015-08-07 21:22:53 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-08-10 22:36:13 +0300 |
commit | f75113a26008980ca13834fb6573145523596776 (patch) | |
tree | 048212efb478d4235f1bec5cb5338094a4222369 /drivers/input/misc/arizona-haptics.c | |
parent | e7d9ab731ac7babaf2e1b7b5e2280f5f555d263f (diff) | |
download | linux-f75113a26008980ca13834fb6573145523596776.tar.xz |
Bluetooth: add hci_connect_le_scan
Currently, when trying to connect to already paired device that just
rotated its RPA MAC address, old address would be used and connection
would fail. In order to fix that, kernel must scan and receive
advertisement with fresh RPA before connecting.
This patch adds hci_connect_le_scan with dependencies, new method that
will be used to connect to remote LE devices. Instead of just sending
connect request, it adds a device to whitelist. Later patches will make
use of this whitelist to send conenct request when advertisement is
received, and properly handle timeouts.
Signed-off-by: Jakub Pawlowski <jpawlowski@google.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/input/misc/arizona-haptics.c')
0 files changed, 0 insertions, 0 deletions