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)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 11 Aug 2023 18:54:39 +0000 (11:54 -0700)
commitf2f84a70f9d0c9a3263194ca9d82e7bc6027d356
treecf88715717774de6e2d3a511e5d17447a1bf7d62
parent16e3b6429159795a87add7584eb100b19aa1d70b
Bluetooth: hci_conn: Fix not allowing valid CIS ID

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>
net/bluetooth/hci_conn.c