commit | 5477610fc187d4aae0f699d21dfb0e3f440f7de7 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Fri Aug 15 21:06:56 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Mon Sep 08 19:07:52 2014 +0200 |
tree | 06f77a7d218c42aba1a9aab6baa581630b2ef834 | |
parent | 08853f18eafe65aa97deb464c28505a67c898b0e [diff] |
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>