Hi, Here's a rewritten patch set to allow associating the connectable setting with the advertising type. Unlike the first attempt this one doesn't introduce a new parameter to enable_advertising() but instead does a pending mgmt command lookup to help determine the right advertising type. There's also a fourth patch to do similar refactoring for set_discoverable as we did for set_connectable wrt. splitting raw HCI sockets from mgmt control, but I didn't quite get around to tying that to the advertising data yet (the general discoverable flag). Johan ---------------------------------------------------------------- Johan Hedberg (4): Bluetooth: Make Set Connectable also update the LE advertising type Bluetooth: Move set_bredr_scan() to avoid forward declaration Bluetooth: Fix updating scan mode in set_bredr() Bluetooth: Convert Set Discoverable to use an asynchronous request net/bluetooth/mgmt.c | 144 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 109 insertions(+), 35 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