aboutsummaryrefslogtreecommitdiff
path: root/net/bluetooth
diff options
context:
space:
mode:
authorGravatar Luiz Augusto von Dentz <luiz.von.dentz@intel.com> 2024-03-07 11:58:17 -0500
committerGravatar Luiz Augusto von Dentz <luiz.von.dentz@intel.com> 2024-03-07 11:58:17 -0500
commit42ed95de82c01184a88945d3ca274be6a7ea607d (patch)
treef786abbef4bcb3a6490c102ec459a613555fbbd8 /net/bluetooth
parentBluetooth: Add new quirk for broken read key length on ATS2851 (diff)
downloadlinux-42ed95de82c01184a88945d3ca274be6a7ea607d.tar.gz
linux-42ed95de82c01184a88945d3ca274be6a7ea607d.tar.bz2
linux-42ed95de82c01184a88945d3ca274be6a7ea607d.zip
Bluetooth: ISO: Align broadcast sync_timeout with connection timeout
This aligns broadcast sync_timeout with existing connection timeouts which are 20 seconds long. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/bluetooth')
-rw-r--r--net/bluetooth/iso.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/iso.c b/net/bluetooth/iso.c
index 8af75d37b14c..c8793e57f4b5 100644
--- a/net/bluetooth/iso.c
+++ b/net/bluetooth/iso.c
@@ -834,10 +834,10 @@ static struct bt_iso_qos default_qos = {
.bcode = {0x00},
.options = 0x00,
.skip = 0x0000,
- .sync_timeout = 0x4000,
+ .sync_timeout = BT_ISO_SYNC_TIMEOUT,
.sync_cte_type = 0x00,
.mse = 0x00,
- .timeout = 0x4000,
+ .timeout = BT_ISO_SYNC_TIMEOUT,
},
};