summaryrefslogtreecommitdiff
path: root/monitor/bt.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-03-01 14:15:25 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-03-02 16:22:24 -0800
commit986aaa2bb8b163f2d7d6d253d2576ec8c1cabeb7 (patch)
tree875dae3ef3d4916309c189422aa2d0c9b154ad2b /monitor/bt.h
parentc8b12d2c7417136cc586bdf4119260dacc5b973e (diff)
downloadbluez-986aaa2bb8b163f2d7d6d253d2576ec8c1cabeb7.tar.gz
monitor: Fix BIG Create Sync decoding
Number of Bis is actually at the end of the PDU, also avoid prefixing with big when it is implied by the struct name.
Diffstat (limited to 'monitor/bt.h')
-rw-r--r--monitor/bt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor/bt.h b/monitor/bt.h
index d00dabed1..84bf50ac6 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
@@ -2732,13 +2732,13 @@ struct bt_hci_bis_sync {
} __attribute__ ((packed));
struct bt_hci_cmd_le_big_create_sync {
- uint8_t big_id;
+ uint8_t handle;
uint16_t sync_handle;
- uint8_t num_bis;
uint8_t encryption;
uint8_t bcode[16];
uint8_t mse;
uint16_t timeout;
+ uint8_t num_bis;
struct bt_hci_bis_sync bis[0];
} __attribute__ ((packed));