]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Bluetooth: ISO: fix timeout vs sync_timeout typo in check_bcast_qos
authorPauli Virtanen <pav@iki.fi>
Fri, 24 Jul 2026 20:20:27 +0000 (23:20 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 28 Jul 2026 20:13:11 +0000 (16:13 -0400)
In iso.c check_bcast_qos(), missing bcast.timeout is not set to its
default value, and appears typoed as bcast.sync_timeout.

Fix the typo.

Fixes: b37cab587aa3 ("Bluetooth: ISO: Don't reject BT_ISO_QOS if parameters are unset")
Signed-off-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/iso.c

index 6516618339665a84b8cd751ef53f2cf7f9a6415c..e51253e5c16120a7eb4a578da15e354f9b4db8a1 100644 (file)
@@ -1796,7 +1796,7 @@ static bool check_bcast_qos(struct bt_iso_qos *qos)
                return false;
 
        if (!qos->bcast.timeout)
-               qos->bcast.sync_timeout = BT_ISO_SYNC_TIMEOUT;
+               qos->bcast.timeout = BT_ISO_SYNC_TIMEOUT;
 
        if (qos->bcast.timeout < 0x000a || qos->bcast.timeout > 0x4000)
                return false;