mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-06 21:40:04 +00:00
hci: fix le scan with filterlist
This commit is contained in:
parent
f6fafc2484
commit
d54b2c94f4
@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||||||
### Fixed
|
### Fixed
|
||||||
- POSIX: fix RTS/CTS configuration by keeping local termios copy in btstack_uart_posix
|
- POSIX: fix RTS/CTS configuration by keeping local termios copy in btstack_uart_posix
|
||||||
- GAP: disable scanning, advertising, connection before updating random address
|
- 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_AG: fix tracking for call dropped during outgoing ringing
|
||||||
- HFP: Free HFP Connection object on SDP error / Service not found
|
- HFP: Free HFP Connection object on SDP error / Service not found
|
||||||
|
|
||||||
|
@ -4827,7 +4827,7 @@ static bool hci_run_general_gap_le(void){
|
|||||||
bool scanning_uses_whitelist = (hci_stack->le_scan_filter_policy & 1) == 1;
|
bool scanning_uses_whitelist = (hci_stack->le_scan_filter_policy & 1) == 1;
|
||||||
if ((hci_stack->le_scanning_param_update) ||
|
if ((hci_stack->le_scanning_param_update) ||
|
||||||
!hci_stack->le_scanning_enabled ||
|
!hci_stack->le_scanning_enabled ||
|
||||||
scanning_uses_whitelist ||
|
(scanning_uses_whitelist && whitelist_modification_pending) ||
|
||||||
resolving_list_modification_pending ||
|
resolving_list_modification_pending ||
|
||||||
random_address_change){
|
random_address_change){
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user