Bluetooth: Terminate the link if pairing is cancelled
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@google.com> Signed-off-by:
Marcel Holtmann <marcel@holtmann.org> Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
Showing
- include/net/bluetooth/hci_core.h 12 additions, 2 deletionsinclude/net/bluetooth/hci_core.h
- net/bluetooth/hci_conn.c 8 additions, 3 deletionsnet/bluetooth/hci_conn.c
- net/bluetooth/l2cap_core.c 4 additions, 2 deletionsnet/bluetooth/l2cap_core.c
- net/bluetooth/mgmt.c 18 additions, 4 deletionsnet/bluetooth/mgmt.c
Loading
Please register or sign in to comment