Re: [PATCH v2] Bluetooth: Terminate the link if pairing is cancelled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux