]> 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)
commitc9b2f77467fb9395ccb196fd7941bb91bca516a4
tree06f77a7d218c42aba1a9aab6baa581630b2ef834
parent6b9c933841b92692bb35141a508b38ff8b5e5d3f
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