summaryrefslogtreecommitdiff
path: root/emulator/btdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulator/btdev.c')
-rw-r--r--emulator/btdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/emulator/btdev.c b/emulator/btdev.c
index 378674010..9189e8082 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -5692,10 +5692,10 @@ static int cmd_create_big_complete(struct btdev *dev, const void *data,
uint8_t len)
{
const struct bt_hci_cmd_le_create_big *cmd = data;
+ const struct bt_hci_bis *bis = &cmd->bis;
int i;
for (i = 0; i < cmd->num_bis; i++) {
- const struct bt_hci_bis *bis = &cmd->bis[i];
struct btdev_conn *conn;
struct {
struct bt_hci_evt_le_big_complete evt;