[media] siano: fix PER/BER report on DVBv5
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 10 Mar 2013 16:38:41 +0000 (13:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 10:49:32 +0000 (07:49 -0300)
commit9671045f4ce7a9e5eedc669a6921aeec26bd095e
tree6e338a7e682bb3d48ea17a69b18d1dcb85181953
parentf5de95e2467b7b6b968e6c67489425265dd2a1c2
[media] siano: fix PER/BER report on DVBv5

The check for lock logic is broken. Due to that, no PER/BER
stats will ever be showed, and the DVBV3 events will be wrong.
Also, the per-layer PER/BER stats for ISDB-T are filled with
the wrong index.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/siano/smsdvb-main.c