Hi Andre, On Tue, Apr 30, 2013, Andre Guedes wrote: > This patch modifies the stop_discovery function so it uses the HCI > request framework. > > The HCI request is built according to the current discovery state > (inquiry, LE scanning or name resolving) and a complete callback is > register to handle the command complete event for the stop discovery > command. This way, we move all stop_discovery mgmt handling code > spread in hci_event.c to a single place in mgmt.c. > > Signed-off-by: Andre Guedes <andre.guedes@xxxxxxxxxxxxx> > --- > net/bluetooth/mgmt.c | 47 ++++++++++++++++++++++++++++++++++++++++------- > 1 file changed, 40 insertions(+), 7 deletions(-) Acked-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> Johan -- 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