fixed offset length in pdsch scrambling sequence

This commit is contained in:
Ismael Gomez 2017-09-05 15:09:19 +02:00
parent 1486911e32
commit 30c6c8d21b
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,7 @@ static int srslte_pdsch_codeword_decode(srslte_pdsch_t *pdsch, srslte_pdsch_cfg_
ERROR("Initialising scrambling sequence");
return SRSLTE_ERROR;
}
srslte_scrambling_s_offset(&seq, pdsch->e[codeword_idx], codeword_idx, nbits->nof_bits);
srslte_scrambling_s_offset(&seq, pdsch->e[codeword_idx], 0, nbits->nof_bits);
srslte_sequence_free(&seq);
}