aboutsummaryrefslogtreecommitdiff
path: root/net/bluetooth/msft.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz2021-10-27 16:58:43 -0700
committerMarcel Holtmann2021-10-29 16:51:58 +0200
commit5bee2fd6bcaaaa9f8f415afc48ed8c1083d8a303 (patch)
tree25194582f016c69832425b61e1179a19ffb73244 /net/bluetooth/msft.c
parentad383c2c65a5baf16e334cd40a013cc302176891 (diff)
Bluetooth: hci_sync: Rework background scan
This replaces the use of hci_update_background_scan with hci_update_passive_scan which runs from cmd_work_sync and deal properly with resolving list when LL privacy is enabled. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/msft.c')
-rw-r--r--net/bluetooth/msft.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/msft.c b/net/bluetooth/msft.c
index 255cffa554ee..5205d9410ff5 100644
--- a/net/bluetooth/msft.c
+++ b/net/bluetooth/msft.c
@@ -168,7 +168,7 @@ static void reregister_monitor(struct hci_dev *hdev, int handle)
if (!monitor) {
/* All monitors have been reregistered */
msft->reregistering = false;
- hci_update_background_scan(hdev);
+ hci_update_passive_scan(hdev);
return;
}