From: Johan Hedberg Date: Thu, 3 Jul 2014 16:33:48 +0000 (+0300) Subject: Bluetooth: Remove redundant IRK lookup X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=435a13d839abe8c8b9ebe1be635d1ab8f7352f56;p=pandora-kernel.git Bluetooth: Remove redundant IRK lookup When processing passive scanning results we need the resolved identity address both in check_pending_le_conn() as well as later in process_adv_report(). Since process_adv_report() calls check_pending_le_conn() we can simply resolve the IRK earlier in the function and thereby eliminate a second lookup. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed