Bluetooth: Fix initializing conn_params in scan phase
authorJakub Pawlowski <jpawlowski@google.com>
Fri, 16 Oct 2015 07:07:54 +0000 (10:07 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 16 Oct 2015 07:24:41 +0000 (09:24 +0200)
commit5157b8a503fa834e8569c7fed06981e3d3d53db0
treebc7242ad64be49ba6db2437df4503070d9e6763b
parent9ad3e6ffe189a988389d88ce33101668cb2d54c6
Bluetooth: Fix initializing conn_params in scan phase

This patch makes sure that conn_params that were created just for
explicit_connect, will get properly deleted during cleanup.

Signed-off-by: Jakub Pawlowski <jpawlowski@google.com>
Acked-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_conn.c
net/bluetooth/mgmt.c