From: Johan Hedberg Date: Wed, 14 Jan 2015 18:51:37 +0000 (+0200) Subject: Bluetooth: Fix valid Identity Address check X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~184^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e12af489b91d47a806f4e96e4edc20df612482e7;p=pandora-kernel.git Bluetooth: Fix valid Identity Address check According to the Bluetooth core specification valid identity addresses are either Public Device Addresses or Static Random Addresses. IRKs received with any other type of address should be discarded since we cannot assume to know the permanent identity of the peer device. This patch fixes a missing check for the Identity Address when receiving the Identity Address Information SMP PDU. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann Cc: stable@vger.kernel.org # 3.17+ --- Reading git-diff-tree failed