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)
commitb12f62cfd9f46ac70013ce661640174b489efd39
tree5ad852475d40051fa86fe613d2b9990cd816656b
parent31f7956c6648fbae9c9550e91d1c348d28276309
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