fix PRBS verification

This commit is contained in:
Harald Welte 2022-04-15 22:34:59 +02:00
parent a9535f21f2
commit ae530f762c
1 changed files with 1 additions and 2 deletions

View File

@ -96,8 +96,7 @@ void prbs_process_rx(struct timeslot_state_rx *tsr, const uint8_t *data, unsigne
tsr->sync_state.prbs_pc_num = pc_num;
tsr->sync_state.prbs_pc_offset = (sizeof(pc->bytes) - offset) % sizeof(pc->bytes);
tsr->sync_state.num_bit_err = 0;
/* FIXME: compare the remainder of the buffer */
return;
/* fall-through to below to compare all of the buffer */
}
}
if (tsr->sync_state.has_sync) {