From: Henrik Kurelid <[email protected]>

The version number in the CA_PMT message sent to the hardware was
alwaysed set to zero. This could cause problems if the PMT would
change during decryption of a channel since the new CA_PMT would have
the same version number as the old. The version number is now copied
from the original PMT.

Signed-off-by: Henrik Kurelid <[email protected]>
Signed-off-by: Stefan Richter <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/dvb/firewire/firedtv-avc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/v4l-dvb.git?a=commitdiff;h=39fcfe8c1152c5a6e3e30816992e6d9ffe7205b4

diff --git a/drivers/media/dvb/firewire/firedtv-avc.c 
b/drivers/media/dvb/firewire/firedtv-avc.c
index 1b31beb..28294af 100644
--- a/drivers/media/dvb/firewire/firedtv-avc.c
+++ b/drivers/media/dvb/firewire/firedtv-avc.c
@@ -1096,7 +1096,7 @@ int avc_ca_pmt(struct firedtv *fdtv, char *msg, int 
length)
 
        c->operand[15] = msg[1]; /* Program number */
        c->operand[16] = msg[2];
-       c->operand[17] = 0x01; /* Version number=0 + current/next=1 */
+       c->operand[17] = msg[3]; /* Version number and current/next */
        c->operand[18] = 0x00; /* Section number=0 */
        c->operand[19] = 0x00; /* Last section number=0 */
        c->operand[20] = 0x1f; /* PCR_PID=1FFF */

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to