From 5bee2fd6bcaaaa9f8f415afc48ed8c1083d8a303 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 27 Oct 2021 16:58:43 -0700 Subject: 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 Signed-off-by: Marcel Holtmann --- net/bluetooth/msft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/bluetooth/msft.c') 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; } -- cgit v1.2.3