]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: hci_conn: Fix not allowing valid CIS ID
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 3 Aug 2023 23:41:34 +0000 (16:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:48:04 +0000 (09:48 +0200)
commit25675624455e8e881cdae9fd08cfec3957be72c0
tree6b85080955b9f853051445616eedf57d8bc2f71b
parent7b1b32172771b29d8d86a2227de35b1c1b31929c
Bluetooth: hci_conn: Fix not allowing valid CIS ID

[ Upstream commit f2f84a70f9d0c9a3263194ca9d82e7bc6027d356 ]

Only the number of CIS shall be limited to 0x1f, the CIS ID in the
other hand is up to 0xef.

Fixes: 26afbd826ee3 ("Bluetooth: Add initial implementation of CIS connections")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/bluetooth/hci_conn.c