Hi Johan, > This patch adds proper state tracking to the device discovery process. > This makes it possible to return appropriate errors when trying to stop > a non-active discovery or start discovery when it is already ongoing. > Once name resolving is implemented this also makes it possible to know > what the right action to do is when a remote name lookup is cancelled. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > include/net/bluetooth/hci_core.h | 9 +++++++++ > net/bluetooth/hci_core.c | 25 +++++++++++++++++++++++++ > net/bluetooth/hci_event.c | 6 +++--- > net/bluetooth/mgmt.c | 16 ++++++++++++++++ > 4 files changed, 53 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