Hi Johan, > The encryption key size for LTKs is supposed to be applied only at the > moment of encryption. When generating a Link Key (using LE SC) from > the LTK the full non-shortened value should be used. This patch > modifies the code to always keep the full value around and only apply > the key size when passing the value to HCI. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > include/net/bluetooth/hci_core.h | 2 +- > net/bluetooth/hci_conn.c | 4 ++-- > net/bluetooth/hci_event.c | 3 ++- > net/bluetooth/smp.c | 15 +++------------ > 4 files changed, 8 insertions(+), 16 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