summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2012-10-10 17:38:27 +0300
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-10-11 14:30:58 +0800
commit53502d69be49e3dd5bc95ab0f2deeaea260bd617 (patch)
tree9a9318d66aa3c694e1428155dc8e43397db1e247 /include/net/bluetooth
parent12d5978165944a9c5b059a8258685539387fcf90 (diff)
downloadop-kernel-dev-53502d69be49e3dd5bc95ab0f2deeaea260bd617.zip
op-kernel-dev-53502d69be49e3dd5bc95ab0f2deeaea260bd617.tar.gz
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.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 90ae4f0..dfa108c 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -285,6 +285,8 @@ struct hci_dev {
int (*ioctl)(struct hci_dev *hdev, unsigned int cmd, unsigned long arg);
};
+#define HCI_PHY_HANDLE(handle) (handle & 0xff)
+
struct hci_conn {
struct list_head list;
OpenPOWER on IntegriCloud