diff mbox series

media: libdvbv5: fixed DVBv3 error block count

Message ID e304b0a8-1764-407c-81b1-3cb63eb1d820@m4com.de (mailing list archive)
State New
Headers show
Series media: libdvbv5: fixed DVBv3 error block count | expand

Commit Message

Marko Lukat June 27, 2024, 12:51 p.m. UTC
__dvb_fe_get_stats() - when falling back to DVBv3 - reports DTV_STAT_CNR 
instead of DTV_STAT_ERROR_BLOCK_COUNT.

Signed-off-by: Marko Lukat <mlukat@m4com.de>
---
         if (parms->p.verbose > 1) {
                 dvb_log(_("Status: "));
diff mbox series

Patch

diff --git a/lib/libdvbv5/dvb-fe.c b/lib/libdvbv5/dvb-fe.c
index 7848fcda..4ff9eee0 100644
--- a/lib/libdvbv5/dvb-fe.c
+++ b/lib/libdvbv5/dvb-fe.c
@@ -1520,7 +1520,7 @@  dvbv3_fallback:
                 scale = FE_SCALE_NOT_AVAILABLE;
         else
                 scale = FE_SCALE_COUNTER;
-       dvb_fe_store_stats(parms, DTV_STAT_ERROR_BLOCK_COUNT, scale, 0, 
snr);
+       dvb_fe_store_stats(parms, DTV_STAT_ERROR_BLOCK_COUNT, scale, 0, 
ucb);