Skip to content

Commit f8222a5

Browse files
koffesrlubos
authored andcommitted
Tests: Bluetooth: Updated BIS bitfield
OCT-3076 Added change to bis_bitfield. Signed-off-by: Kristoffer Rist Skøien <[email protected]>
1 parent 1b7f775 commit f8222a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/bluetooth/iso/modules/iso_broadcast_sink.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ static struct bt_iso_chan *bis[CONFIG_BIS_ISO_CHAN_COUNT_MAX];
266266
static struct bt_iso_big_sync_param big_sync_param = {
267267
.bis_channels = bis,
268268
.num_bis = 1,
269-
.bis_bitfield = (BIT_MASK(1) << 1),
269+
.bis_bitfield = BIT_MASK(1),
270270
.mse = BT_ISO_SYNC_MSE_ANY,
271271
.sync_timeout = 100, /* in 10 ms units */
272272
.encryption = false,
@@ -507,7 +507,7 @@ static int param_set(const struct shell *shell, size_t argc, char **argv)
507507
switch (opt) {
508508
case 'n':
509509
big_sync_param.num_bis = result;
510-
big_sync_param.bis_bitfield = (BIT_MASK(result) << 1);
510+
big_sync_param.bis_bitfield = BIT_MASK(result);
511511
LOG_INF("num_bis: %d", big_sync_param.num_bis);
512512
break;
513513
case ':':

0 commit comments

Comments
 (0)