Bluetooth: Initialize hci_conn fields in hci_connect_le
authorAndre Guedes <andre.guedes@openbossa.org>
Thu, 3 Oct 2013 21:25:45 +0000 (18:25 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 4 Oct 2013 06:07:17 +0000 (23:07 -0700)
commit46a190cbd3d8992a017664367e9227dcd357ce53
tree3acc2712f8d410e9a80c2a2851a2bd45465c011a
parentf1e5d54743b99cbbea0e0cfb2b3f8053f045b3d7
Bluetooth: Initialize hci_conn fields in hci_connect_le

This patch moves some hci_conn fields initialization from hci_le_
create_connection() to hci_connect_le(). It makes more sense to
initialize these fields within the function that creates the hci_
conn object.

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