diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2011-12-19 18:31:30 +0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-12-20 23:00:22 +0400 |
commit | 613a1c0c595fe2f2d9148a705f140a53bc9f56e1 (patch) | |
tree | 3757193937538e1eb162039c205ae25dc2664d2b /include/net | |
parent | 32ac5b9b57ef521470f930fd00849be4705bc134 (diff) | |
download | linux-613a1c0c595fe2f2d9148a705f140a53bc9f56e1.tar.xz |
Bluetooth: Clean up magic pointers
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/hci.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 66b26399a1ca..6127ca8bd1d1 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -979,9 +979,14 @@ struct hci_ev_role_change { } __packed; #define HCI_EV_NUM_COMP_PKTS 0x13 +struct hci_comp_pkts_info { + __le16 handle; + __le16 count; +} __packed; + struct hci_ev_num_comp_pkts { __u8 num_hndl; - /* variable length part */ + struct hci_comp_pkts_info handles[0]; } __packed; #define HCI_EV_MODE_CHANGE 0x14 |