commit | 9ab65d60c212c23f1605f35aea229f4c94df2334 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Tue Jul 01 19:14:13 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Jul 03 17:42:54 2014 +0200 |
tree | 5ee86b593782a7f61b2301117569c31fd37a8f88 | |
parent | fe59a05f941dbeb14316449be42d059761bed62c [diff] |
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 <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>