From: Johan Hedberg Date: Thu, 3 Jul 2014 16:33:51 +0000 (+0300) Subject: Bluetooth: Add identity address check in param lookup functions X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=738f61859d08771e12b552d043b48c8fc13708d1;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed