From: "Rafał Gajda" <rafal.gajda@silvair.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ] mesh: Fix model publication get
Date: Mon, 12 Aug 2019 14:08:25 +0200 [thread overview]
Message-ID: <20190812120825.29610-1-rafal.gajda@silvair.com> (raw)
---
mesh/cfgmod-server.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mesh/cfgmod-server.c b/mesh/cfgmod-server.c
index 4447b1cb1..dbed7e03f 100644
--- a/mesh/cfgmod-server.c
+++ b/mesh/cfgmod-server.c
@@ -93,7 +93,7 @@ static bool config_pub_get(struct mesh_node *node, uint16_t net_idx,
ele_idx = node_get_element_idx(node, ele_addr);
if (ele_idx >= 0)
- pub = mesh_model_pub_get(node, ele_idx, mod_id, &status);
+ pub = mesh_model_pub_get(node, ele_addr, mod_id, &status);
else
status = MESH_STATUS_INVALID_ADDRESS;
--
2.22.0
reply other threads:[~2019-08-12 12:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20190812120825.29610-1-rafal.gajda@silvair.com \
--to=rafal.gajda@silvair.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).