linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Gix, Brian" <brian.gix@intel.com>
To: "linux-bluetooth@vger.kernel.org"
	<linux-bluetooth@vger.kernel.org>,
	"Stotland, Inga" <inga.stotland@intel.com>
Subject: Re: [PATCH BlueZ] mesh: Fix storage init of Friend and LPN features
Date: Fri, 26 Jul 2019 16:20:42 +0000	[thread overview]
Message-ID: <1564158041.16999.3.camel@intel.com> (raw)
In-Reply-To: <20190725182612.23401-1-inga.stotland@intel.com>

Applied

On Thu, 2019-07-25 at 11:26 -0700, Inga Stotland wrote:
> This fixes a typo in mesh-config-json.c when Friend feature
> was initialized twice and LPN was not initialized at all.
> ---
>  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 75015e607..e3baf5dc6 100644
> --- a/mesh/mesh-config-json.c
> +++ b/mesh/mesh-config-json.c
> @@ -1191,7 +1191,7 @@ static void parse_features(json_object *jconfig, struct mesh_config_node *node)
>  	if (json_object_object_get_ex(jconfig, "lowPower", &jvalue)) {
>  		mode = get_mode(jvalue);
>  		if (mode <= MESH_MODE_UNSUPPORTED)
> -			node->modes.friend = mode;
> +			node->modes.lpn = mode;
>  	}
>  
>  	if (json_object_object_get_ex(jconfig, "beacon", &jvalue)) {

      reply	other threads:[~2019-07-26 16:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-25 18:26 [PATCH BlueZ] mesh: Fix storage init of Friend and LPN features Inga Stotland
2019-07-26 16:20 ` 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=1564158041.16999.3.camel@intel.com \
    --to=brian.gix@intel.com \
    --cc=inga.stotland@intel.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /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).