cbsp: Change log level ERROR->INFO on CBSP tx and link down

Let's decrease the logging since it's fine simply discarding the message
if the link is down. This way all code sending messages doesn't need to
care about the link state.

Change-Id: I64356ec6a7b3a4e11a0e66b17efab2788b1ca5cc
This commit is contained in:
Pau Espin 2022-06-28 15:39:11 +02:00 committed by pespin
parent adc3e36a3e
commit 46fe680944
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ int cbsp_tx_decoded(struct bsc_cbc_link *cbc, struct osmo_cbsp_decoded *cbsp)
struct msgb *msg;
if (!cbc->client.cli && !cbc->server.srv) {
LOGP(DCBS, LOGL_ERROR, "Discarding Tx CBSP Message Type %s, link is down\n",
LOGP(DCBS, LOGL_INFO, "Discarding Tx CBSP Message Type %s, link is down\n",
get_value_string(cbsp_msg_type_names, cbsp->msg_type));
talloc_free(cbsp);
return 0;