Bluetooth: Mesh: Fix spelling of "heartbeat"

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2017-09-28 17:24:11 +03:00 committed by Johan Hedberg
commit ea397170d3

View file

@ -2652,7 +2652,7 @@ send:
bt_mesh_model_send(model, ctx, msg, NULL, NULL); bt_mesh_model_send(model, ctx, msg, NULL, NULL);
} }
static void hearbeat_pub_get(struct bt_mesh_model *model, static void heartbeat_pub_get(struct bt_mesh_model *model,
struct bt_mesh_msg_ctx *ctx, struct bt_mesh_msg_ctx *ctx,
struct net_buf_simple *buf) struct net_buf_simple *buf)
{ {
@ -2661,7 +2661,7 @@ static void hearbeat_pub_get(struct bt_mesh_model *model,
hb_pub_send_status(model, ctx, STATUS_SUCCESS, NULL); hb_pub_send_status(model, ctx, STATUS_SUCCESS, NULL);
} }
static void hearbeat_pub_set(struct bt_mesh_model *model, static void heartbeat_pub_set(struct bt_mesh_model *model,
struct bt_mesh_msg_ctx *ctx, struct bt_mesh_msg_ctx *ctx,
struct net_buf_simple *buf) struct net_buf_simple *buf)
{ {
@ -2772,7 +2772,7 @@ static void hb_sub_send_status(struct bt_mesh_model *model,
bt_mesh_model_send(model, ctx, msg, NULL, NULL); bt_mesh_model_send(model, ctx, msg, NULL, NULL);
} }
static void hearbeat_sub_get(struct bt_mesh_model *model, static void heartbeat_sub_get(struct bt_mesh_model *model,
struct bt_mesh_msg_ctx *ctx, struct bt_mesh_msg_ctx *ctx,
struct net_buf_simple *buf) struct net_buf_simple *buf)
{ {
@ -2781,7 +2781,7 @@ static void hearbeat_sub_get(struct bt_mesh_model *model,
hb_sub_send_status(model, ctx, STATUS_SUCCESS); hb_sub_send_status(model, ctx, STATUS_SUCCESS);
} }
static void hearbeat_sub_set(struct bt_mesh_model *model, static void heartbeat_sub_set(struct bt_mesh_model *model,
struct bt_mesh_msg_ctx *ctx, struct bt_mesh_msg_ctx *ctx,
struct net_buf_simple *buf) struct net_buf_simple *buf)
{ {
@ -2884,10 +2884,10 @@ const struct bt_mesh_model_op bt_mesh_cfg_op[] = {
{ OP_LPN_TIMEOUT_GET, 2, lpn_timeout_get }, { OP_LPN_TIMEOUT_GET, 2, lpn_timeout_get },
{ OP_KRP_GET, 2, krp_get }, { OP_KRP_GET, 2, krp_get },
{ OP_KRP_SET, 3, krp_set }, { OP_KRP_SET, 3, krp_set },
{ OP_HEARTBEAT_PUB_GET, 0, hearbeat_pub_get }, { OP_HEARTBEAT_PUB_GET, 0, heartbeat_pub_get },
{ OP_HEARTBEAT_PUB_SET, 9, hearbeat_pub_set }, { OP_HEARTBEAT_PUB_SET, 9, heartbeat_pub_set },
{ OP_HEARTBEAT_SUB_GET, 0, hearbeat_sub_get }, { OP_HEARTBEAT_SUB_GET, 0, heartbeat_sub_get },
{ OP_HEARTBEAT_SUB_SET, 5, hearbeat_sub_set }, { OP_HEARTBEAT_SUB_SET, 5, heartbeat_sub_set },
BT_MESH_MODEL_OP_END, BT_MESH_MODEL_OP_END,
}; };