fix(ble): Fix duplicate var length issue

This commit is contained in:
Geng Yuchao 2023-07-03 17:56:51 +08:00
parent 1398605873
commit 730d8e18d8
2 changed files with 2 additions and 2 deletions

View File

@ -679,7 +679,7 @@ void ble_controller_scan_duplicate_config(void)
duplicate_mode |= FILTER_DUPLICATE_EXCEPTION_FOR_MESH;
ble_vhci_disc_duplicate_mode_disable(0xFF);
ble_vhci_disc_duplicate_mode_disable(0xFFFFFFFF);
ble_vhci_disc_duplicate_mode_enable(duplicate_mode);
ble_vhci_disc_duplicate_set_max_cache_size(cache_size);
ble_vhci_disc_duplicate_set_period_refresh_time(CONFIG_BT_LE_SCAN_DUPL_CACHE_REFRESH_PERIOD);

View File

@ -645,7 +645,7 @@ void ble_controller_scan_duplicate_config(void)
duplicate_mode |= FILTER_DUPLICATE_EXCEPTION_FOR_MESH;
ble_vhci_disc_duplicate_mode_disable(0xFF);
ble_vhci_disc_duplicate_mode_disable(0xFFFFFFFF);
ble_vhci_disc_duplicate_mode_enable(duplicate_mode);
ble_vhci_disc_duplicate_set_max_cache_size(cache_size);
ble_vhci_disc_duplicate_set_period_refresh_time(CONFIG_BT_LE_SCAN_DUPL_CACHE_REFRESH_PERIOD);