aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2011-12-19 09:31:30 -0500
committerGustavo F. Padovan <padovan@profusion.mobi>2011-12-20 14:00:22 -0500
commit613a1c0c595fe2f2d9148a705f140a53bc9f56e1 (patch)
tree3757193937538e1eb162039c205ae25dc2664d2b /include/net
parent32ac5b9b57ef521470f930fd00849be4705bc134 (diff)
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.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 {
979} __packed; 979} __packed;
980 980
981#define HCI_EV_NUM_COMP_PKTS 0x13 981#define HCI_EV_NUM_COMP_PKTS 0x13
982struct hci_comp_pkts_info {
983 __le16 handle;
984 __le16 count;
985} __packed;
986
982struct hci_ev_num_comp_pkts { 987struct hci_ev_num_comp_pkts {
983 __u8 num_hndl; 988 __u8 num_hndl;
984 /* variable length part */ 989 struct hci_comp_pkts_info handles[0];
985} __packed; 990} __packed;
986 991
987#define HCI_EV_MODE_CHANGE 0x14 992#define HCI_EV_MODE_CHANGE 0x14