Hi, Here's a third revision of the patch set to add 32 and 128 bit UUID support. The main difference is merging back the different UUID lists to one (as per Marcel's wish) and instead adding a type member to the bt_uuid struct so that the type doesn't need to be evaluated multiple times (due to the three iterations of the hdev->uuids list that now needs to be done). The added/removed statistics ended up (funnily enough) giving the exact same result as v2 of this patch set, i.e. the code base ends up growing 51 lines (insertions - deletions). Johan Hedberg (9): Bluetooth: Store UUIDs in the same order that they were added Bluetooth: Simplify UUIDs clearing code Bluetooth: Keep track of UUID type upon addition Bluetooth: Simplify UUID removal code Bluetooth: Simplify UUID16 list generation for EIR Bluetooth: Remove useless eir_len variable from EIR creation Bluetooth: Refactor UUID-16 list generation into its own function Bluetooth: Add support for 32-bit UUIDs in EIR data Bluetooth: Add support for 128-bit UUIDs in EIR data include/net/bluetooth/hci_core.h | 5 ++++ net/bluetooth/hci_core.c | 10 +++----- net/bluetooth/mgmt.c | 202 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------- 3 files changed, 134 insertions(+), 83 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