rsl: Support parsing up to 3 RSL_IPAC_EIE_MEAS_AVG_CFG IEs

struct ipac_preproc_cfg seems to suggest that there may be up to 3 IEs
in some cases:
"struct ipac_preproc_ave_cfg ms_ave_cfg[3];"

Change-Id: I02633713eb557ee52e790a239f7b13b8c5b2b3bd
Fixes: 9238c3549d
Related: SYS#4918
This commit is contained in:
Pau Espin 2021-08-30 14:10:07 +02:00 committed by pespin
parent 6aa959ecf4
commit 298a259b7c
1 changed files with 1 additions and 1 deletions

View File

@ -909,7 +909,7 @@ static int parse_power_ctrl_params(struct gsm_power_ctrl_params *params,
const uint8_t *data, size_t data_len)
{
const struct tlv_p_entry *ie;
struct tlv_parsed tp[2];
struct tlv_parsed tp[3];
unsigned int i;
int rc;