diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-03-04 17:22:18 -0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-03-07 17:18:36 -0800 |
commit | b5ab5eee3aea5a22dfbc738a3f6edf9d022c3fe9 (patch) | |
tree | 189e5c86adf432284d2ef61bfa75c5b35ac5ad00 /emulator | |
parent | 2f4368de81764519281b75c29e802b59aeadb7c5 (diff) | |
download | bluez-b5ab5eee3aea5a22dfbc738a3f6edf9d022c3fe9.tar.gz |
monitor: Fix Create BIG PDU
The PDU of Create BIG is actually fixed size as the num_bis is
related to the number of indexes to be connected and not the BIS
parameters.
Diffstat (limited to 'emulator')
-rw-r--r-- | emulator/btdev.c | 2 |
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; |