Re: [PATCH 1/1] mesh: Send input complete for input OOB Authentication

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

 



Applied
On Wed, 2020-03-25 at 00:57 +0530, Prathyusha Nelluri wrote:
> From: Prathyusha N <prathyusha.n@xxxxxxxxxxx>
> 
> Send input complete when user completes input operation.
> ---
>  mesh/prov-acceptor.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/mesh/prov-acceptor.c b/mesh/prov-acceptor.c
> index 03972c227..20a2ce4be 100644
> --- a/mesh/prov-acceptor.c
> +++ b/mesh/prov-acceptor.c
> @@ -272,6 +272,12 @@ static void static_cb(void *user_data, int err, uint8_t *key, uint32_t len)
>  	memcpy(prov->rand_auth_workspace + 16, key, 16);
>  	memcpy(prov->rand_auth_workspace + 32, key, 16);
>  	prov->material |= MAT_RAND_AUTH;
> +
> +	if (prov->conf_inputs.start.auth_action ==
> +							PROV_ACTION_IN_ALPHA) {
> +		msg.opcode = PROV_INP_CMPLT;
> +		prov->trans_tx(prov->trans_data, &msg.opcode, 1);
> +	}
>  }
>  
>  static void priv_key_cb(void *user_data, int err, uint8_t *key, uint32_t len)




[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