Bluetooth: Host: Change PA sync scan to fast scan
Instead of doing slow (non-fast) scan when syncing to a PA, it will now do a fast scan, which drastically reduces the time it takes to create the sync. The application may still do explicit slow scan if wanted. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
b78245db60
commit
27f6bf19e8
1 changed files with 1 additions and 1 deletions
|
@ -7395,7 +7395,7 @@ int bt_le_per_adv_sync_create(const struct bt_le_per_adv_sync_param *param,
|
|||
* the advertiser address in the sync params.
|
||||
*/
|
||||
if (!atomic_test_bit(bt_dev.flags, BT_DEV_SCANNING)) {
|
||||
err = bt_le_scan_update(false);
|
||||
err = bt_le_scan_update(true);
|
||||
|
||||
if (err) {
|
||||
bt_le_per_adv_sync_delete(per_adv_sync);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue