]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add dst_type parameter to hci_connect
authorAndre Guedes <andre.guedes@openbossa.org>
Wed, 25 Apr 2012 00:02:54 +0000 (21:02 -0300)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 04:40:45 +0000 (01:40 -0300)
commit5a0718448648f9776829dd4d2a48165d845dfb80
tree5ad852475d40051fa86fe613d2b9990cd816656b
parent46e97dabef6518c540c40f5953f6544a3dc0aa4b
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>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_conn.c
net/bluetooth/l2cap_core.c
net/bluetooth/mgmt.c
net/bluetooth/sco.c