Bluetooth: Fix initializing conn_params in scan phase
authorJakub Pawlowski <[email protected]>
Fri, 16 Oct 2015 07:07:54 +0000 (10:07 +0300)
committerMarcel Holtmann <[email protected]>
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 <[email protected]>
Acked-by: Johan Hedberg <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
net/bluetooth/hci_conn.c
net/bluetooth/mgmt.c