diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-02-09 13:57:21 -0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-02-09 15:42:45 -0800 |
commit | e700d5526c9012a1feda11bdb3fdbdc210dfc0ce (patch) | |
tree | 8dc8793a80ea8fc8efc253100344be6135c65e9c /monitor/bt.h | |
parent | d84b9950fe4fb43dedefd71094f593072629bed6 (diff) | |
download | bluez-e700d5526c9012a1feda11bdb3fdbdc210dfc0ce.tar.gz |
bthost: Fix not handling ACL fragmentation
Large packets requires the support of ACL fragmentation in order to be
properly processed.
Diffstat (limited to 'monitor/bt.h')
-rw-r--r-- | monitor/bt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/monitor/bt.h b/monitor/bt.h index dc4e11c3c..66ed3ef5a 100644 --- a/monitor/bt.h +++ b/monitor/bt.h @@ -488,6 +488,7 @@ struct bt_hci_cmd_hdr { struct bt_hci_acl_hdr { uint16_t handle; uint16_t dlen; + uint8_t data[]; } __attribute__ ((packed)); struct bt_hci_sco_hdr { @@ -3663,6 +3664,7 @@ struct bt_hci_evt_le_req_peer_sca_complete { struct bt_l2cap_hdr { uint16_t len; uint16_t cid; + uint8_t data[]; } __attribute__ ((packed)); struct bt_l2cap_hdr_sig { |