All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc/mgmt-api: Add Authentication Failure code to Disconnected event
@ 2016-06-24  9:59 Szymon Janc
  2016-06-27 11:44 ` Luiz Augusto von Dentz
  2016-07-13  5:37 ` Johan Hedberg
  0 siblings, 2 replies; 3+ messages in thread
From: Szymon Janc @ 2016-06-24  9:59 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Szymon Janc

This error code will be set if authentication (enabling encryption)
failed with 'PIN or Key Missing' error. This will allow userspace
to take actions (eg ask user for consent for rebonding) when remote
device lost bond.
---
 doc/mgmt-api.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
index 8393bbf..9384f70 100644
--- a/doc/mgmt-api.txt
+++ b/doc/mgmt-api.txt
@@ -3061,6 +3061,7 @@ Device Disconnected Event
 		1	Connection timeout
 		2	Connection terminated by local host
 		3	Connection terminated by remote host
+		4	Connection terminated due to authentication failure
 
 	Note that the local/remote distinction just determines which side
 	terminated the low-level connection, regardless of the
-- 
2.7.4

On behalf of SCHILLER Medical SAS.

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] doc/mgmt-api: Add Authentication Failure code to Disconnected event
  2016-06-24  9:59 [PATCH] doc/mgmt-api: Add Authentication Failure code to Disconnected event Szymon Janc
@ 2016-06-27 11:44 ` Luiz Augusto von Dentz
  2016-07-13  5:37 ` Johan Hedberg
  1 sibling, 0 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2016-06-27 11:44 UTC (permalink / raw)
  To: Szymon Janc; +Cc: linux-bluetooth

Hi Szymon,

On Fri, Jun 24, 2016 at 12:59 PM, Szymon Janc <szymon.janc@codecoup.pl> wrote:
> This error code will be set if authentication (enabling encryption)
> failed with 'PIN or Key Missing' error. This will allow userspace
> to take actions (eg ask user for consent for rebonding) when remote
> device lost bond.
> ---
>  doc/mgmt-api.txt | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
> index 8393bbf..9384f70 100644
> --- a/doc/mgmt-api.txt
> +++ b/doc/mgmt-api.txt
> @@ -3061,6 +3061,7 @@ Device Disconnected Event
>                 1       Connection timeout
>                 2       Connection terminated by local host
>                 3       Connection terminated by remote host
> +               4       Connection terminated due to authentication failure
>
>         Note that the local/remote distinction just determines which side
>         terminated the low-level connection, regardless of the
> --
> 2.7.4

Looks good, lets get the kernel patch merged first then I will merge this one.

-- 
Luiz Augusto von Dentz

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] doc/mgmt-api: Add Authentication Failure code to Disconnected event
  2016-06-24  9:59 [PATCH] doc/mgmt-api: Add Authentication Failure code to Disconnected event Szymon Janc
  2016-06-27 11:44 ` Luiz Augusto von Dentz
@ 2016-07-13  5:37 ` Johan Hedberg
  1 sibling, 0 replies; 3+ messages in thread
From: Johan Hedberg @ 2016-07-13  5:37 UTC (permalink / raw)
  To: Szymon Janc; +Cc: linux-bluetooth

Hi Szymon,

On Fri, Jun 24, 2016, Szymon Janc wrote:
> This error code will be set if authentication (enabling encryption)
> failed with 'PIN or Key Missing' error. This will allow userspace
> to take actions (eg ask user for consent for rebonding) when remote
> device lost bond.
> ---
>  doc/mgmt-api.txt | 1 +
>  1 file changed, 1 insertion(+)

Applied. Thanks.

Johan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-13  5:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-24  9:59 [PATCH] doc/mgmt-api: Add Authentication Failure code to Disconnected event Szymon Janc
2016-06-27 11:44 ` Luiz Augusto von Dentz
2016-07-13  5:37 ` Johan Hedberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.