Hi, Here's a set of cleanups and fixes for the SMP code I've come accross while working with it. Johan ---------------------------------------------------------------- Johan Hedberg (6): Bluetooth: Fix missing NULL check for smp_chan_create() return value Bluetooth: Remove unnecessary SMP STK define Bluetooth: Remove HCI prefix from SMP LTK defines Bluetooth: Remove unused LTK authentication defines Bluetooth: Convert SMP flags into an enum Bluetooth: Add flexible buffer byte order swapping function include/net/bluetooth/hci.h | 9 --------- net/bluetooth/hci_core.c | 2 +- net/bluetooth/hci_event.c | 3 ++- net/bluetooth/mgmt.c | 6 +++--- net/bluetooth/smp.c | 41 +++++++++++++++++++---------------------- net/bluetooth/smp.h | 7 +++++++ 6 files changed, 32 insertions(+), 36 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