Bluetooth: Fix conn_params list update in hci_connect_le_scan_cleanup
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 16 Oct 2015 07:07:53 +0000 (10:07 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 16 Oct 2015 07:24:41 +0000 (09:24 +0200)
commit9ad3e6ffe189a988389d88ce33101668cb2d54c6
tree75c46a0442999b52fa71fa94562d7a04fff364e4
parent679d2b6f9d742b3f091868bd9a0634647ce7e782
Bluetooth: Fix conn_params list update in hci_connect_le_scan_cleanup

After clearing the params->explicit_connect variable the parameters
may need to be either added back to the right list or potentially left
absent from both the le_reports and the le_conns lists.

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