diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-04-12 00:52:30 +0300 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-04-12 01:12:28 +0300 |
commit | e3ff3bc4e090917f02288fba9a6ef112227f7fc9 (patch) | |
tree | 49a7b4d4af6136bd1036a24167c2ab6643d35198 /src | |
parent | 9b0c60ea6397a868eb34e18d018881a66e839024 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/common/rsl.c | 8 |
1 files changed, 2 insertions, 6 deletions
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 */ |