From: Johan Hedberg Date: Tue, 18 Feb 2014 19:41:35 +0000 (+0200) Subject: Bluetooth: Don't try to look up private addresses as Identity Address X-Git-Tag: v3.15-rc1~113^2~159^2^2~130^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cfc9988bd3e5d2931365da76db9b5a7334494b6;p=pandora-kernel.git Bluetooth: Don't try to look up private addresses as Identity Address Identity Addresses are either public or static random. When looking up addresses based on the Identity Address it doesn't make sense to go through the IRK list if we're given a private random address. This patch fixes (or rather improves) the hci_find_irk_by_addr function to bail out early if given a private random address. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed