Skip to content

Commit 01b4f9d

Browse files
Tronilhenrikbrixandersen
authored andcommitted
Bluetooth: Controller: Fix BIS IRC range check
Maximum possible value for IRC is 15, not 7 Signed-off-by: Troels Nilsson <trnn@demant.com>
1 parent d796c11 commit 01b4f9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/controller/ll_sw/ull_adv_iso.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ static uint8_t big_create(uint8_t big_handle, uint8_t adv_handle, uint8_t num_bi
192192
return BT_HCI_ERR_INVALID_PARAM;
193193
}
194194

195-
if (!IN_RANGE(irc, 0x01, 0x07)) {
195+
if (!IN_RANGE(irc, 0x01, 0x0F)) {
196196
return BT_HCI_ERR_INVALID_PARAM;
197197
}
198198

0 commit comments

Comments
 (0)