diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-10-10 10:38:28 -0400 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-10-11 02:33:05 -0400 |
commit | 42c4e53e7ac3d4069105e852d1ee24e6ee9e57b8 (patch) | |
tree | 13ce2100ae7162011bbc82bb01991f5fe8607163 /include/net/bluetooth | |
parent | 53502d69be49e3dd5bc95ab0f2deeaea260bd617 (diff) |
Bluetooth: AMP: Add handle to hci_chan structure
hci_chan will be identified by handle used in logical link creation
process. This handle is used in AMP ACL-U packet handle field.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index dfa108c4abec..b697ef342020 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -350,7 +350,7 @@ struct hci_conn { | |||
350 | 350 | ||
351 | struct hci_chan { | 351 | struct hci_chan { |
352 | struct list_head list; | 352 | struct list_head list; |
353 | 353 | __u16 handle; | |
354 | struct hci_conn *conn; | 354 | struct hci_conn *conn; |
355 | struct sk_buff_head data_q; | 355 | struct sk_buff_head data_q; |
356 | unsigned int sent; | 356 | unsigned int sent; |
@@ -567,6 +567,7 @@ void hci_conn_check_pending(struct hci_dev *hdev); | |||
567 | struct hci_chan *hci_chan_create(struct hci_conn *conn); | 567 | struct hci_chan *hci_chan_create(struct hci_conn *conn); |
568 | void hci_chan_del(struct hci_chan *chan); | 568 | void hci_chan_del(struct hci_chan *chan); |
569 | void hci_chan_list_flush(struct hci_conn *conn); | 569 | void hci_chan_list_flush(struct hci_conn *conn); |
570 | struct hci_chan *hci_chan_lookup_handle(struct hci_dev *hdev, __u16 handle); | ||
570 | 571 | ||
571 | struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst, | 572 | struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst, |
572 | __u8 dst_type, __u8 sec_level, __u8 auth_type); | 573 | __u8 dst_type, __u8 sec_level, __u8 auth_type); |