]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: ISO: Fix not checking for valid CIG/CIS IDs
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 3 Aug 2023 21:41:46 +0000 (14:41 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 11 Aug 2023 18:53:50 +0000 (11:53 -0700)
commitb7f923b1ef6a2e76013089d30c9552257056360a
tree6031531940adcb262bf629be95c627472fab48db
parent5af1f84ed13a416297ab9ced7537f4d5ae7f329a
Bluetooth: ISO: Fix not checking for valid CIG/CIS IDs

Valid range of CIG/CIS are 0x00 to 0xEF, so this checks they are
properly checked before attempting to use HCI_OP_LE_SET_CIG_PARAMS.

Fixes: ccf74f2390d6 ("Bluetooth: Add BTPROTO_ISO socket type")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/iso.c