Re: [PATCH BlueZ] mesh: Fix storing network retransmission in config

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

 



Applied, Thanks

On Mon, 2019-08-05 at 09:54 +0200, Michał Lowas-Rzechonek wrote:
> ---
>  mesh/mesh-config-json.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/mesh/mesh-config-json.c b/mesh/mesh-config-json.c
> index 177aaac7b..d49f5226a 100644
> --- a/mesh/mesh-config-json.c
> +++ b/mesh/mesh-config-json.c
> @@ -1553,7 +1553,7 @@ bool mesh_config_write_net_transmit(struct mesh_config *cfg, uint8_t cnt,
>  	jnode = cfg->jnode;
>  
>  	jretransmit = json_object_new_object();
> -	if (jretransmit)
> +	if (!jretransmit)
>  		return false;
>  
>  	if (!write_int(jretransmit, "count", cnt))




[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