From 2d5c2a2746ef7d1d42634e197b732d314c7e4466 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 19 Aug 2020 10:59:01 +0200 Subject: [PATCH] gap: fix mechanism to stop scanning if needed --- src/hci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hci.c b/src/hci.c index a32ec7ec9..3bd2cd9e0 100644 --- a/src/hci.c +++ b/src/hci.c @@ -3643,7 +3643,7 @@ static bool hci_run_general_gap_le(void){ // - whitelist change required but used for scanning bool scanning_uses_whitelist = (hci_stack->le_scan_filter_policy & 1) == 1; if ((hci_stack->le_scanning_param_update) || !hci_stack->le_scanning_enabled || scanning_uses_whitelist){ - scanning_stop = false; + scanning_stop = true; } }