]> git.karo-electronics.de Git - karo-tx-linux.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>
Sun, 29 Apr 2012 20:27:42 +0000 (17:27 -0300)
commit7e26243460f74a129469aadbe713a0cd422361d0
tree4f102b694a733fef5fe5b24feeec75af2094109c
parentca2dd0bb0b9d6d0c78da25982ed27eaa603d5431
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