Hi Johan, > 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. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > net/bluetooth/smp.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html