diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-11-02 23:16:08 -0500 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-11-03 03:13:43 -0500 |
commit | 845472e8d50c898c73b4f69f4edad5249b13d6a9 (patch) | |
tree | 7df3c2c65552aa09aab6d8d314dc94136fa847b6 /include/net/bluetooth/hci.h | |
parent | 2cbd3f5ccd43ba823e183f98a798d4b23cfb12b8 (diff) |
Bluetooth: Add hci_conn_lookup_type() helper function
Some drivers require knowledge of what connection handle is assigned
to what connection link type (ACL or SCO/eSCO). Instead of having each
driver implement connection tracking, provide a simple helper function
for lookup of the link type.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/hci.h')
-rw-r--r-- | include/net/bluetooth/hci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 2e08f5a89463..d5f85d7746bc 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -274,6 +274,7 @@ enum { | |||
274 | /* Low Energy links do not have defined link type. Use invented one */ | 274 | /* Low Energy links do not have defined link type. Use invented one */ |
275 | #define LE_LINK 0x80 | 275 | #define LE_LINK 0x80 |
276 | #define AMP_LINK 0x81 | 276 | #define AMP_LINK 0x81 |
277 | #define INVALID_LINK 0xff | ||
277 | 278 | ||
278 | /* LMP features */ | 279 | /* LMP features */ |
279 | #define LMP_3SLOT 0x01 | 280 | #define LMP_3SLOT 0x01 |