Skip to content

Commit

Permalink
Fixed inverted interpretation of new data indication (ndi) field in d…
Browse files Browse the repository at this point in the history
…ci_format1As_pack() function
  • Loading branch information
falkenber9 authored and andrepuschmann committed Aug 29, 2019
1 parent 044d236 commit ecdfa57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/phy/phch/dci.c
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ static int dci_format1As_pack(

srslte_bit_unpack(dci->pid, &y, HARQ_PID_LEN);

if (SRSLTE_RNTI_ISUSER(dci->rnti)) {
if (!SRSLTE_RNTI_ISUSER(dci->rnti)) {
if (nof_prb >= 50 && dci->type2_alloc.mode == SRSLTE_RA_TYPE2_DIST) {
*y++ = dci->type2_alloc.n_gap;
} else {
Expand Down

0 comments on commit ecdfa57

Please sign in to comment.