summaryrefslogtreecommitdiff
path: root/monitor/bt.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-03-04 17:22:18 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-03-07 17:18:36 -0800
commitb5ab5eee3aea5a22dfbc738a3f6edf9d022c3fe9 (patch)
tree189e5c86adf432284d2ef61bfa75c5b35ac5ad00 /monitor/bt.h
parent2f4368de81764519281b75c29e802b59aeadb7c5 (diff)
downloadbluez-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 'monitor/bt.h')
-rw-r--r--monitor/bt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/bt.h b/monitor/bt.h
index 66ed3ef5a..51b1833dc 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
@@ -2758,7 +2758,7 @@ struct bt_hci_cmd_le_create_big {
uint8_t handle;
uint8_t adv_handle;
uint8_t num_bis;
- struct bt_hci_bis bis[0];
+ struct bt_hci_bis bis;
} __attribute__ ((packed));
#define BT_HCI_CMD_LE_CREATE_BIG_TEST 0x2069