2019-11-18 00:43:16

by Steve Brown

[permalink] [raw]
Subject: [PATCH BlueZ] mesh: Correct typo in cfg_cmd table

From: Steve Brown <[email protected]>

---
tools/mesh/cfgcli.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/mesh/cfgcli.c b/tools/mesh/cfgcli.c
index 44f7dac1e..dc7b266f8 100644
--- a/tools/mesh/cfgcli.c
+++ b/tools/mesh/cfgcli.c
@@ -140,9 +140,9 @@ static struct cfg_cmd cmds[] = {
{ OP_CONFIG_HEARTBEAT_PUB_SET, OP_CONFIG_HEARTBEAT_PUB_STATUS,
"HeartbeatPubSet" },
{ OP_CONFIG_HEARTBEAT_PUB_STATUS, NO_RESPONSE, "HeartbeatPubStatus" },
- { OP_CONFIG_HEARTBEAT_SUB_GET, OP_CONFIG_HEARTBEAT_SUB_GET,
+ { OP_CONFIG_HEARTBEAT_SUB_GET, OP_CONFIG_HEARTBEAT_SUB_STATUS,
"HeartbeatSubGet" },
- { OP_CONFIG_HEARTBEAT_SUB_SET, OP_CONFIG_HEARTBEAT_SUB_GET,
+ { OP_CONFIG_HEARTBEAT_SUB_SET, OP_CONFIG_HEARTBEAT_SUB_STATUS,
"HeartbeatSubSet" },
{ OP_CONFIG_HEARTBEAT_SUB_STATUS, NO_RESPONSE, "HeartbeatSubStatus" },
{ OP_MODEL_APP_BIND, OP_MODEL_APP_STATUS, "ModelAppBind" },
--
2.11.0


2019-11-19 23:55:23

by Gix, Brian

[permalink] [raw]
Subject: Re: [PATCH BlueZ] mesh: Correct typo in cfg_cmd table

Applied, thanks

On Sun, 2019-11-17 at 19:09 -0500, [email protected] wrote:
> From: Steve Brown <[email protected]>
>
> ---
> tools/mesh/cfgcli.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/mesh/cfgcli.c b/tools/mesh/cfgcli.c
> index 44f7dac1e..dc7b266f8 100644
> --- a/tools/mesh/cfgcli.c
> +++ b/tools/mesh/cfgcli.c
> @@ -140,9 +140,9 @@ static struct cfg_cmd cmds[] = {
> { OP_CONFIG_HEARTBEAT_PUB_SET, OP_CONFIG_HEARTBEAT_PUB_STATUS,
> "HeartbeatPubSet" },
> { OP_CONFIG_HEARTBEAT_PUB_STATUS, NO_RESPONSE, "HeartbeatPubStatus" },
> - { OP_CONFIG_HEARTBEAT_SUB_GET, OP_CONFIG_HEARTBEAT_SUB_GET,
> + { OP_CONFIG_HEARTBEAT_SUB_GET, OP_CONFIG_HEARTBEAT_SUB_STATUS,
> "HeartbeatSubGet" },
> - { OP_CONFIG_HEARTBEAT_SUB_SET, OP_CONFIG_HEARTBEAT_SUB_GET,
> + { OP_CONFIG_HEARTBEAT_SUB_SET, OP_CONFIG_HEARTBEAT_SUB_STATUS,
> "HeartbeatSubSet" },
> { OP_CONFIG_HEARTBEAT_SUB_STATUS, NO_RESPONSE, "HeartbeatSubStatus" },
> { OP_MODEL_APP_BIND, OP_MODEL_APP_STATUS, "ModelAppBind" },