diff --git a/nimble/host/mesh/src/cfg_srv.c b/nimble/host/mesh/src/cfg_srv.c index 390d235d3..3ced5159c 100644 --- a/nimble/host/mesh/src/cfg_srv.c +++ b/nimble/host/mesh/src/cfg_srv.c @@ -120,9 +120,9 @@ static void dev_comp_data_get(struct bt_mesh_model *model, bt_hex(buf->om_data, buf->om_len)); page = net_buf_simple_pull_u8(buf); - if (page != 0) { - BT_WARN("Composition page %u not available", page); - page = 0; + if (page != 0U) { + BT_DBG("Composition page %u not available", page); + page = 0U; } bt_mesh_model_msg_init(sdu, OP_DEV_COMP_DATA_STATUS); diff --git a/nimble/host/mesh/src/proxy.c b/nimble/host/mesh/src/proxy.c index d71aef672..b41ac092e 100644 --- a/nimble/host/mesh/src/proxy.c +++ b/nimble/host/mesh/src/proxy.c @@ -1201,7 +1201,7 @@ static s32_t gatt_proxy_advertise(struct bt_mesh_subnet *sub) BT_DBG(""); if (conn_count == CONFIG_BT_MAX_CONN) { - BT_WARN("Connectable advertising deferred (max connections)"); + BT_DBG("Connectable advertising deferred (max connections)"); return remaining; }