diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2020-05-13 14:05:01 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2020-05-13 14:07:22 -0700 |
commit | 81b3f4e6ea84b8563eee84accff9a71f845bbf4a (patch) | |
tree | d6f88aa0c385f1d2112c4e6a306c93051c015bb2 /monitor/bt.h | |
parent | f52def1535c5b5619e9749660187a96f531c0357 (diff) | |
download | bluez-81b3f4e6ea84b8563eee84accff9a71f845bbf4a.tar.gz |
monitor: Fix parsing of LE Setup ISO Data Path response
LE Setup ISO Data Path response actually contains the handle in addition
to the status:
> HCI Event: Command Complete (0x0e) plen 6
LE Setup Isochronous Data Path (0x08|0x006e) ncmd 1
Status: Success (0x00)
Handle: 44
Diffstat (limited to 'monitor/bt.h')
-rw-r--r-- | monitor/bt.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/monitor/bt.h b/monitor/bt.h index 3f854c3a2..e8a1d93c9 100644 --- a/monitor/bt.h +++ b/monitor/bt.h @@ -2776,6 +2776,11 @@ struct bt_hci_cmd_le_setup_iso_path { uint8_t codec_cfg[0]; } __attribute__ ((packed)); +struct bt_hci_rsp_le_setup_iso_path { + uint8_t status; + uint16_t handle; +} __attribute__ ((packed)); + #define BT_HCI_CMD_LE_REMOVE_ISO_PATH 0x206f #define BT_HCI_BIT_LE_REMOVE_ISO_PATH BT_HCI_CMD_BIT(43, 4) struct bt_hci_cmd_le_remove_iso_path { |