Re: [PATCH v1] Bluetooth: Override status if local user rejects pairing

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

 



Hi Jaganath,

On Thu, Jul 05, 2012, Jaganath Kanakkassery wrote:
> In case if pairing is failed, user cannot differentiate from the status
> whether failure is caused by local rejection or remote rejection
> because authentication failure is coming in both the cases.
> 
> This patch overrides the status from controller with "Rejected"
> in case of local rejection.
> 
> This patch will be useful if user can take some action based on local
> or remote rejection
> 
> Signed-off-by: Jaganath Kanakkassery <jaganath.k@xxxxxxxxxxx>
> ---
>  include/net/bluetooth/hci_core.h |    4 +-
>  net/bluetooth/hci_event.c        |    4 +-
>  net/bluetooth/mgmt.c             |  173 +++++++++++++++++++-------------------
>  net/bluetooth/smp.c              |    2 +-
>  4 files changed, 94 insertions(+), 89 deletions(-)

Could you please split this to two separate patches:

1. Refactor PIN code rejection to use user_pairing_resp
2. Add the local rejection tracking

Johan
--
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


[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