Hi Manish, > If user decides to cancel the ongoing pairing process (e.g. by clicking > the cancel button on pairing/passkey window), abort any ongoing pairing > and then terminate the link if it was created because of the pair > device action. > > Signed-off-by: Manish Mandlik <mmandlik@xxxxxxxxxx> > --- > > Changes in v2: > - Added code to track if the connection was triggered because of the pair > device action and then only terminate the link on pairing cancel. > > include/net/bluetooth/hci_core.h | 14 ++++++++++++-- > net/bluetooth/hci_conn.c | 11 ++++++++--- > net/bluetooth/l2cap_core.c | 6 ++++-- > net/bluetooth/mgmt.c | 22 ++++++++++++++++++---- > 4 files changed, 42 insertions(+), 11 deletions(-) patch has been added to my local tree. I will send an update with all pending patches in a bit. Regards Marcel