]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Optimize connection parameter lookup for LE connections
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 15 Aug 2014 18:06:56 +0000 (21:06 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 8 Sep 2014 17:07:52 +0000 (19:07 +0200)
commit6bf1ca05376bfb595595486229d811cffb65ca58
tree06f77a7d218c42aba1a9aab6baa581630b2ef834
parent93afe0edc3fa8976da107eeac36c5a834e0e16d3
Bluetooth: Optimize connection parameter lookup for LE connections

When we get an LE connection complete event there's really no reason to
look through the entire connection parameter list as the entry should be
present in the hdev->pend_le_conns list too. This patch changes the
lookup code to do a more restricted lookup only in the pend_le_conns
list.

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