bluez5: Update default sync_factor

Due to the how the kernel part of BlueZ computes the extended
advertising interval for a Broadcast Source, a sync_factor smaller
than 2 will result in an invalid interval value (too small).
This commit is contained in:
Vlad 2024-07-26 12:54:39 +03:00 committed by Wim Taymans
parent 23f02b0d98
commit 308a93bd14

View file

@ -5310,7 +5310,8 @@ static void configure_bis(struct spa_bt_monitor *monitor,
int options = 0;
int skip = 0;
int sync_cte_type = 0;
int sync_factor = 1;
/* sync_factor should be >=2 to avoid invalid extended advertising interval value */
int sync_factor = 2;
int sync_timeout = 2000;
int timeout = 2000;