From e3ff3bc4e090917f02288fba9a6ef112227f7fc9 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Tue, 12 Apr 2022 00:52:30 +0300 Subject: rsl: rsl_rx_chan_{activ,modif}: do not sent an Error Report Sending an Error Report along with a NACK makes no sense. Change-Id: Idae55645c34970f839bb0eef61a7326a1026b20c Related: SYS#5917, OS#4984 --- src/common/rsl.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/common/rsl.c') diff --git a/src/common/rsl.c b/src/common/rsl.c index 09444d1d..2da954d3 100644 --- a/src/common/rsl.c +++ b/src/common/rsl.c @@ -1855,10 +1855,8 @@ static int rsl_rx_chan_activ(struct msgb *msg) /* 9.3.52 MultiRate Configuration */ rc = parse_multirate_config(lchan, &tp); - if (rc < 0) { - rsl_tx_error_report(msg->trx, -rc, &dch->chan_nr, NULL, msg); + if (rc < 0) return rsl_tx_chan_act_acknack(lchan, -rc); - } /* 9.3.53 MultiRate Control */ /* 9.3.54 Supported Codec Types */ @@ -2204,10 +2202,8 @@ static int rsl_rx_mode_modif(struct msgb *msg) /* 9.3.52 MultiRate Configuration */ rc = parse_multirate_config(lchan, &tp); - if (rc < 0) { - rsl_tx_error_report(msg->trx, -rc, &dch->chan_nr, NULL, msg); + if (rc < 0) return rsl_tx_mode_modif_nack(lchan, -rc); - } /* 9.3.53 MultiRate Control */ /* 9.3.54 Supported Codec Types */ -- cgit v1.2.3