Bluetooth: Move address type conversion to outside hci_connect_le
authorAndre Guedes <andre.guedes@openbossa.org>
Wed, 26 Feb 2014 23:21:45 +0000 (20:21 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 27 Feb 2014 03:41:34 +0000 (19:41 -0800)
commit6f77d8c757523f675679d845ff0e15d3276a168a
tree69ad7cf050bdfa281610c5098b33ac9beff410ac
parent04a6c5898e8cbb46313b7d425001b701f0fa4e3d
Bluetooth: Move address type conversion to outside hci_connect_le

This patch moves address type conversion (L2CAP address type to HCI
address type) to outside hci_connect_le. This way, we avoid back and
forth address type conversion in a comming patch.

So hci_connect_le() now expects 'dst_type' parameter in HCI address
type convention.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_conn.c
net/bluetooth/l2cap_core.c
net/bluetooth/mgmt.c