Bluetooth: hci_sync: allow advertise when scan without RPA
authorZhengping Jiang <jiangzp@google.com>
Tue, 13 Sep 2022 23:37:15 +0000 (16:37 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 14 Sep 2022 20:07:59 +0000 (13:07 -0700)
commit9afc675edeeb34d281675f1d5a217d27c5a1a3db
treedcf0d112761e872f8840c466a2b7734ed363a54b
parentbe55622ce673f9692cc15d26d77a050cda42a3d3
Bluetooth: hci_sync: allow advertise when scan without RPA

Address resolution will be paused during active scan to allow any
advertising reports reach the host. If LL privacy is enabled,
advertising will rely on the controller to generate new RPA.

If host is not using RPA, there is no need to stop advertising during
active scan because there is no need to generate RPA in the controller.

Signed-off-by: Zhengping Jiang <jiangzp@google.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_sync.c