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
This commit is contained in:
Vadim Yanitskiy 2022-04-12 00:52:30 +03:00
parent 9b0c60ea63
commit e3ff3bc4e0
1 changed files with 2 additions and 6 deletions

View File

@ -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 */