summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2011-12-19 16:31:30 +0200
committerGustavo F. Padovan <padovan@profusion.mobi>2011-12-20 17:00:22 -0200
commit613a1c0c595fe2f2d9148a705f140a53bc9f56e1 (patch)
tree3757193937538e1eb162039c205ae25dc2664d2b /include/net/bluetooth
parent32ac5b9b57ef521470f930fd00849be4705bc134 (diff)
downloadblackbird-op-linux-613a1c0c595fe2f2d9148a705f140a53bc9f56e1.tar.gz
blackbird-op-linux-613a1c0c595fe2f2d9148a705f140a53bc9f56e1.zip
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/bluetooth')
-rw-r--r--include/net/bluetooth/hci.h7
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
OpenPOWER on IntegriCloud