Bluetooth: Use hci_conn_params in pend_le_conns
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 3 Jul 2014 16:33:49 +0000 (19:33 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 16:45:08 +0000 (18:45 +0200)
commit912b42ef05a1e9f72a82c21d678a29c5055045d5
treee0dc92cbed6b9bb10e9cb465ba9110234050c190
parent435a13d839abe8c8b9ebe1be635d1ab8f7352f56
Bluetooth: Use hci_conn_params in pend_le_conns

Since the connection parameters are always a basis for adding entries to
hdev->pend_le_conns (so far of type bdaddr_list) it's simpler and more
efficient to have the parameters themselves be the entries in the
pend_le_conns list. We do this by adding another list_head to the
hci_conn_params struct.

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