hci: fix le scan with filterlist

This commit is contained in:
Matthias Ringwald 2022-02-11 12:02:18 +01:00
parent f6fafc2484
commit d54b2c94f4
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Fixed
- POSIX: fix RTS/CTS configuration by keeping local termios copy in btstack_uart_posix
- GAP: disable scanning, advertising, connection before updating random address
- GAP: fix LE Scan with whitelist
- HFP_AG: fix tracking for call dropped during outgoing ringing
- HFP: Free HFP Connection object on SDP error / Service not found

View File

@ -4827,7 +4827,7 @@ static bool hci_run_general_gap_le(void){
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_uses_whitelist && whitelist_modification_pending) ||
resolving_list_modification_pending ||
random_address_change){