WIP: Bluetooth: Don't schedule le_disable work if timeout <= 0.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
WIP: Bluetooth: Always send hci command in hci_cancel_le_scan

This way we can use this helper even if there is no scanning timeout.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
WIP: Bluetooth: Add BT_DEV_FOUND state

This patch adds a new state which will be used in hci_conn objects.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
WIP: Bluetooth: Remove L2CAP connection timeout

This patch also don't set the l2cap channel timer if it is LE CID.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
WIP: Bluetooth: Add hci_le_create_connection helper to hci_core.h

This patch adds hci_le_create_connection helper to hci_core.h so we
are able to use this helper outside hci_conn.c.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
WIP: Bluetooth: LE connection handling

This patch implements the General Connection Establishment Procedure
described in Core spec. This way, the connect() system call now
implements this procedure instead of Direct Connection Establishment
Procedure.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
WIP: Bluetooth: If hcon is closed, stop scanning

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>