]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7489911a7c0d76c5fa3137f5acc7c5417b81b0c0
treedcf0d112761e872f8840c466a2b7734ed363a54b
parent3879c2b97eb01f89ea141093bb5011b4f8e00d9b
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