From: Johan Hedberg Date: Tue, 1 Jul 2014 16:14:13 +0000 (+0300) Subject: Bluetooth: Allow re-encryption with LTK when STK is in use X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ab65d60c212c23f1605f35aea229f4c94df2334;p=pandora-kernel.git Bluetooth: Allow re-encryption with LTK when STK is in use If we're encrypted with the STK we should allow re-encryption with an LTK even though the achieved security level is the same. This patch adds the necessary logic to the smp_sufficient_security function which is used to determine whether to proceed with encryption or not. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed