Hi Andre, On Tue, Apr 30, 2013, Andre Guedes wrote: > This patch modifies the start_discovery function so it uses the HCI > request framework. > > We build the HCI request according to the discovery type (add inquiry > or LE scan HCI commands) and run the HCI request. We also register > the start_discovery_complete callback which handles mgmt command > complete events for this command. This way, we move all start_ > discovery mgmt handling code spread in hci_event.c to a single place > in mgmt.c. > > This patch also merges the LE-only and interleaved discovery type > cases since these cases are pretty much the same now. > > Signed-off-by: Andre Guedes <andre.guedes@xxxxxxxxxxxxx> > --- > net/bluetooth/mgmt.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++----- > 1 file changed, 84 insertions(+), 9 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