Hi Andre, > This patches creates mgmt_stop_discovery_failed() which removes > pending MGMT_OP_STOP_DISCOVERY commands and sends proper command > status events. > > This patch also fixes the MGMT_OP_STOP_DISCOVERY command leak in > case cancel inquiry fails. > > Signed-off-by: Andre Guedes <andre.guedes@xxxxxxxxxxxxx> > --- > include/net/bluetooth/hci_core.h | 1 + > net/bluetooth/hci_event.c | 6 +++++- > net/bluetooth/mgmt.c | 15 +++++++++++++++ > 3 files changed, 21 insertions(+), 1 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