diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-09-04 09:22:46 (GMT) |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-09-17 10:28:27 (GMT) |
commit | d8949aad3eab5d396f4fefcd581773bf07b9a79e (patch) | |
tree | 3f3f0b3c775621eef856097a6c5ef7847452f502 /drivers/Makefile | |
parent | 20471ed4d403a5f4de6aa0c10cd1e446f7f2b3c7 (diff) | |
download | linux-d8949aad3eab5d396f4fefcd581773bf07b9a79e.tar.xz |
Bluetooth: Delay check for conn->smp in smp_conn_security()
There are several actions that smp_conn_security() might make that do
not require a valid SMP context (conn->smp pointer). One of these
actions is to encrypt the link with an existing LTK. If the SMP
context wasn't initialized properly we should still allow the
independent actions to be done, i.e. the check for the context should
only be done at the last possible moment.
Reported-by: Chuck Ebbert <cebbert.lkml@gmail.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Cc: stable@vger.kernel.org # 4.0+
Diffstat (limited to 'drivers/Makefile')
0 files changed, 0 insertions, 0 deletions