Hi Johan, > Since the HCISETSCAN ioctl is the only non-mgmt user we care about for > setting the right discoverable state we can simply do the necessary > updates in the ioctl handler function instead. This then allows the > removal of the mgmt_discoverable function and should simplify that state > handling considerably. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > include/net/bluetooth/hci_core.h | 2 +- > net/bluetooth/hci_core.c | 24 +++++++++++--- > net/bluetooth/hci_event.c | 19 +++--------- > net/bluetooth/mgmt.c | 67 ++++++++++++++-------------------------- > 4 files changed, 50 insertions(+), 62 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