Hi, Here's a set of patches I've ended up creating today due to various issues found with LE security handling. Most of the issues fixed have been in the three for a bit longer time, but the issue fixed by 3/6 was introduced (by me) by the change to use passkey notification instead of confirmation. I've left the LTK re-encryption removal to be the last patch since it can be debated whether we want it or not. I've on occasion had quite many LTK re-encryption failures when testing against my iPhone, but mostly it works just fine. Removing the re-encryption drops the failures to 0. Today I kept getting local failures (Start Encrypt cmd_status) constantly with local Intel Bluetooth hardware and a Bluetooth mouse. Removing the re-encryption made this work again. Johan ---------------------------------------------------------------- Johan Hedberg (6): Bluetooth: Fix potential NULL pointer dereference in SMP Bluetooth: Add missing cmd_status handler for LE_Start_Encryption Bluetooth: Fix SMP confirmation callback handling Bluetooth: Add SMP flag to track which side is the initiator Bluetooth: Don't try to confirm locally initiated SMP pairing Bluetooth: Remove LTK re-encryption procedure net/bluetooth/hci_event.c | 34 +++++++++++++++++++++ net/bluetooth/smp.c | 71 ++++++++++++++++--------------------------- net/bluetooth/smp.h | 7 ++--- 3 files changed, 63 insertions(+), 49 deletions(-) -- 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