diff options
| author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-10-10 10:38:27 -0400 |
|---|---|---|
| committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-10-11 02:30:58 -0400 |
| commit | 53502d69be49e3dd5bc95ab0f2deeaea260bd617 (patch) | |
| tree | 9a9318d66aa3c694e1428155dc8e43397db1e247 /include/net/bluetooth | |
| parent | 12d5978165944a9c5b059a8258685539387fcf90 (diff) | |
Bluetooth: AMP: Handle AMP_LINK timeout
When AMP_LINK timeouts execute HCI_OP_DISCONN_PHY_LINK as analog to
HCI_OP_DISCONNECT for ACL_LINK.
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 90ae4f0a4fd..dfa108c4abe 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
| @@ -285,6 +285,8 @@ struct hci_dev { | |||
| 285 | int (*ioctl)(struct hci_dev *hdev, unsigned int cmd, unsigned long arg); | 285 | int (*ioctl)(struct hci_dev *hdev, unsigned int cmd, unsigned long arg); |
| 286 | }; | 286 | }; |
| 287 | 287 | ||
| 288 | #define HCI_PHY_HANDLE(handle) (handle & 0xff) | ||
| 289 | |||
| 288 | struct hci_conn { | 290 | struct hci_conn { |
| 289 | struct list_head list; | 291 | struct list_head list; |
| 290 | 292 | ||
