rsl: Fix rx of multiple RSL_IPAC_EIE_MEAS_AVG_CFG IEs

So far only the first one was applied.

Fixes: 9238c3549d
Related: SYS#4918
Change-Id: Ib4f3c165a988e77b61a8852b254fc0904aa12482
This commit is contained in:
Pau Espin 2021-08-30 12:53:04 +02:00 committed by pespin
parent c485901d3d
commit 294fa4e061
1 changed files with 1 additions and 1 deletions

View File

@ -969,7 +969,7 @@ static int parse_power_ctrl_params(struct gsm_power_ctrl_params *params,
const struct ipac_preproc_ave_cfg *ave_cfg;
struct gsm_power_ctrl_meas_params *mp;
ie = TLVP_GET(&tp[0], RSL_IPAC_EIE_MEAS_AVG_CFG);
ie = TLVP_GET(&tp[i], RSL_IPAC_EIE_MEAS_AVG_CFG);
if (ie == NULL)
break;