diff options
author | Andre Guedes <andre.guedes@openbossa.org> | 2012-04-24 20:02:54 -0400 |
---|---|---|
committer | Gustavo Padovan <gustavo@padovan.org> | 2012-05-09 00:40:45 -0400 |
commit | b12f62cfd9f46ac70013ce661640174b489efd39 (patch) | |
tree | 5ad852475d40051fa86fe613d2b9990cd816656b /include | |
parent | 31f7956c6648fbae9c9550e91d1c348d28276309 (diff) |
Bluetooth: Add dst_type parameter to hci_connect
This patch adds the dst_type parameter to hci_connect function.
Instead of searching the address type in advertising cache, we
use the dst_type parameter to establish LE connections.
The dst_type is ignored for BR/EDR connection establishment.
Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 7e7fe3f221fb..e69a9eed082c 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -575,7 +575,7 @@ int hci_chan_del(struct hci_chan *chan); | |||
575 | void hci_chan_list_flush(struct hci_conn *conn); | 575 | void hci_chan_list_flush(struct hci_conn *conn); |
576 | 576 | ||
577 | struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst, | 577 | struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst, |
578 | __u8 sec_level, __u8 auth_type); | 578 | __u8 dst_type, __u8 sec_level, __u8 auth_type); |
579 | int hci_conn_check_link_mode(struct hci_conn *conn); | 579 | int hci_conn_check_link_mode(struct hci_conn *conn); |
580 | int hci_conn_check_secure(struct hci_conn *conn, __u8 sec_level); | 580 | int hci_conn_check_secure(struct hci_conn *conn, __u8 sec_level); |
581 | int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type); | 581 | int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type); |