]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: ISO: exclude RFU bits from ISO_SDU_Length
authorPauli Virtanen <pav@iki.fi>
Wed, 1 Jul 2026 15:46:39 +0000 (18:46 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 6 Jul 2026 14:46:58 +0000 (10:46 -0400)
commitfd076d8deeab6f9f18ef13400f89e1f550df665b
tree4563465f3beee6c6a4ffb9840fd06af985cf9109
parente054c1a6ae7310d2815778fddb87da616e11c255
Bluetooth: ISO: exclude RFU bits from ISO_SDU_Length

slen contains ISO_SDU_Length (12 bits), RFU (2 bits),
Packet_Status_Flags (2 bits).

Exclude the RFU bits from hci_iso_data_len. Also add masks to the pack
macro.

Fixes: 4de0fc599eb9 ("Bluetooth: Add definitions for CIS connections")
Signed-off-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/hci.h