aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2012-10-10 10:38:27 -0400
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-10-11 02:30:58 -0400
commit53502d69be49e3dd5bc95ab0f2deeaea260bd617 (patch)
tree9a9318d66aa3c694e1428155dc8e43397db1e247 /include/net
parent12d5978165944a9c5b059a8258685539387fcf90 (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')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 90ae4f0a4fdc..dfa108c4abec 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
288struct hci_conn { 290struct hci_conn {
289 struct list_head list; 291 struct list_head list;
290 292