Hi Johan, > We can only determine the final security level when both pairing request > and response have been exchanged. When initiating pairing the starting > target security level is set to MEDIUM unless explicitly specified to be > HIGH, so that we can still perform pairing even if the remote doesn't > have MITM capabilities. However, once we've received the pairing > response we should re-consult the remote and local IO capabilities and > upgrade the target security level if necessary. > > Without this patch the resulting Long Term Key will occasionally be > reported to be unauthenticated when it in reality is an authenticated > one. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > net/bluetooth/smp.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) 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