Skip to content

Commit

Permalink
Bluetooth: Mesh: Change ERR to WARN
Browse files Browse the repository at this point in the history
Changes ERR to WARN message when relay buffers
run out, as this is not really an error but a
consequence of high traffic.

Signed-off-by: Omkar Kulkarni <[email protected]>
  • Loading branch information
omkar3141 authored and carlescufi committed Mar 11, 2022
1 parent 03dffa5 commit 539c1c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/bluetooth/mesh/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ static void bt_mesh_net_relay(struct net_buf_simple *sbuf,
buf = bt_mesh_adv_create(BT_MESH_ADV_DATA, BT_MESH_RELAY_ADV,
transmit, K_NO_WAIT);
if (!buf) {
BT_ERR("Out of relay buffers");
BT_WARN("Out of relay buffers");
return;
}

Expand Down

0 comments on commit 539c1c9

Please sign in to comment.