Hi Andre, > This patch adds to hci_core the hci_do_le_scan function which > should be used to scan LE devices. > > In order to enable LE scan, hci_do_le_scan() sends commands (Set > LE Scan Parameters and Set LE Scan Enable) to the controller and > waits for its results. If commands were executed successfully a > delayed work is scheduled to disable the ongoing scanning after > some amount of time. This function blocks. > > Signed-off-by: Andre Guedes <andre.guedes@xxxxxxxxxxxxx> > --- > include/net/bluetooth/hci_core.h | 8 ++++ > net/bluetooth/hci_core.c | 74 ++++++++++++++++++++++++++++++++++++++ > net/bluetooth/hci_event.c | 13 +++++-- > 3 files changed, 92 insertions(+), 3 deletions(-) Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx> 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