Bluetooth: Configure controller address resolution if available
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 23 Jul 2020 12:38:57 +0000 (18:08 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 30 Jul 2020 07:34:42 +0000 (09:34 +0200)
commite1d572357599d142df5764b39731b6eb55a22beb
tree678a2afafa70a3350bb690f1b48dcc3b15fe687b
parent6540351e6f27ef718e3cf5b46349633f3ec57859
Bluetooth: Configure controller address resolution if available

When the LL Privacy support is available, then as part of enabling or
disabling passive background scanning, it is required to set up the
controller based address resolution as well.

Since only passive background scanning is utilizing the whitelist, the
address resolution is now bound to the whitelist and passive background
scanning. All other resolution can be easily done by the host stack.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sathish Narsimman <sathish.narasimman@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_request.c