osmux: remove redundant log message when bsc doesn't want to use Osmux

Remove redundant information log message:

<000b> bsc_mgcp_utils.c:647 BSC doesn't want to use Osmux, failing back to RTP
<000b> bsc_mgcp_utils.c:669 bsc didn't accept to use Osmux (cid=0)

One single log message is just fine. The error path already indicates
the precise reason not to accept the request to use Osmux.
This commit is contained in:
Pablo Neira Ayuso 2014-08-28 14:48:47 +02:00
parent 72b187be6d
commit a1efcc26cb
1 changed files with 1 additions and 3 deletions

View File

@ -654,7 +654,7 @@ static void bsc_mgcp_osmux_confirm(struct mgcp_endpoint *endp, const char *str)
}
if (endp->osmux.cid != osmux_cid) {
LOGP(DMGCP, LOGL_INFO,
LOGP(DMGCP, LOGL_ERROR,
"BSC sent us wrong CID %u, we expected %u",
osmux_cid, endp->osmux.cid);
goto err;
@ -664,8 +664,6 @@ static void bsc_mgcp_osmux_confirm(struct mgcp_endpoint *endp, const char *str)
osmux_cid);
return;
err:
LOGP(DMGCP, LOGL_NOTICE, "bsc didn't accept to use Osmux (cid=%u)\n",
osmux_cid);
osmux_put_cid(endp->osmux.cid);
endp->osmux.cid = -1;
endp->osmux.state = OSMUX_STATE_DISABLED;