linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Gix, Brian" <brian.gix@intel.com>
To: Rafal Gajda <rafal.gajda@silvair.com>,
	"linux-bluetooth@vger.kernel.org"
	<linux-bluetooth@vger.kernel.org>
Subject: RE: [PATCH BlueZ] mesh: Remove double initialisation and fix typo in log
Date: Tue, 13 Aug 2019 21:25:33 +0000	[thread overview]
Message-ID: <DEBB0CAA2616974FAE35E4B560B9A4376CBF84FA@ORSMSX101.amr.corp.intel.com> (raw)
In-Reply-To: <20190812120656.29494-1-rafal.gajda@silvair.com>

Your two patches applied.... Thanks

> -----Original Message-----
> From: linux-bluetooth-owner@vger.kernel.org [mailto:linux-bluetooth-
> owner@vger.kernel.org] On Behalf Of Rafal Gajda
> Sent: Monday, August 12, 2019 5:07 AM
> To: linux-bluetooth@vger.kernel.org
> Subject: [PATCH BlueZ] mesh: Remove double initialisation and fix typo in log
> 
> ---
>  mesh/node.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/mesh/node.c b/mesh/node.c
> index e7e58d9a7..f8b1099e9 100644
> --- a/mesh/node.c
> +++ b/mesh/node.c
> @@ -475,7 +475,6 @@ static bool init_from_storage(struct mesh_config_node
> *db_node,
>  	node->lpn = db_node->modes.lpn;
> 
>  	node->proxy = db_node->modes.proxy;
> -	node->lpn = db_node->modes.lpn;
>  	node->friend = db_node->modes.friend;
>  	node->relay.mode = db_node->modes.relay.state;
>  	node->relay.cnt = db_node->modes.relay.cnt; @@ -483,7 +482,7 @@
> static bool init_from_storage(struct mesh_config_node *db_node,
>  	node->beacon = db_node->modes.beacon;
> 
>  	l_debug("relay %2.2x, proxy %2.2x, lpn %2.2x, friend %2.2x",
> -			node->relay.mode, node->proxy, node->friend, node-
> >lpn);
> +			node->relay.mode, node->proxy, node->lpn, node-
> >friend);
>  	node->ttl = db_node->ttl;
>  	node->seq_number = db_node->seq_number;
> 
> --
> 2.22.0


      reply	other threads:[~2019-08-13 21:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-12 12:06 [PATCH BlueZ] mesh: Remove double initialisation and fix typo in log Rafał Gajda
2019-08-13 21:25 ` Gix, Brian [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DEBB0CAA2616974FAE35E4B560B9A4376CBF84FA@ORSMSX101.amr.corp.intel.com \
    --to=brian.gix@intel.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=rafal.gajda@silvair.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).