fix PRBS verification

master
Harald Welte 8 months ago
parent a9535f21f2
commit ae530f762c
  1. 3
      prbs/rx.c

@ -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) {

Loading…
Cancel
Save