]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add identity address check in param lookup functions
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 3 Jul 2014 16:33:51 +0000 (19:33 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 16:45:09 +0000 (18:45 +0200)
commit5f7baa9e38ea93fed16a39b7098dd7f6a1d5f44d
tree3cdd2c69e7274211f846944f972ed999199fcf3e
parentf84366a398d3bf09f3cf711e656c5c811dd575c6
Bluetooth: Add identity address check in param lookup functions

Since we only store entries with identity addresses in the
le_conn_params and pend_le_conns lists we can avoid unnecessary lookups
by checking for an identity address before diving into the lists
themselves.

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