diff --git a/frontends/mxl5xx.c b/frontends/mxl5xx.c index 576252b..af60e1e 100644 --- a/frontends/mxl5xx.c +++ b/frontends/mxl5xx.c @@ -673,9 +673,15 @@ static int read_ber(struct dvb_frontend *fe, u32 *ber) p->pre_bit_error.stat[0].uvalue = reg[5]; p->pre_bit_count.len = 1; p->pre_bit_count.stat[0].scale = FE_SCALE_COUNTER; - p->pre_bit_count.stat[0].uvalue = 8 * 188 * (u64)reg[6]; + p->pre_bit_count.stat[0].uvalue = 8 * 188 * (u64) reg[6]; break; case SYS_DVBS2: + p->block_error.len = 1; + p->block_error.stat[0].scale = FE_SCALE_COUNTER; + p->block_error.stat[0].uvalue = reg[1]; + p->block_count.len = 1; + p->block_count.stat[0].scale = FE_SCALE_COUNTER; + p->block_count.stat[0].uvalue = reg[2]; break; default: break;