From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: linux-media@vger.kernel.org, Henrik Kurelid <henrik@kurelid.se>
Subject: [PATCH] firedtv: correct version number and current/next in CA_PMT
Date: Mon, 1 Mar 2010 11:59:20 +0100 (CET) [thread overview]
Message-ID: <tkrat.dc97d52c76a2dc07@s5r6.in-berlin.de> (raw)
Date: Tue, 21 Jul 2009 18:45:50 +0200
From: Henrik Kurelid <henrik@kurelid.se>
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 <henrik@kurelid.se>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
---
This patch got stuck somehow on the long way upstream. :-)
Would be good to get into one of the next .34-rc releases.
drivers/media/dvb/firewire/firedtv-avc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/drivers/media/dvb/firewire/firedtv-avc.c
===================================================================
--- 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, cha
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 */
--
Stefan Richter
-=====-==-=- --== ----=
http://arcgraph.de/sr/
next reply other threads:[~2010-03-01 10:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-01 10:59 Stefan Richter [this message]
2010-03-01 11:03 ` [PATCH] firedtv: add parameter to fake ca_system_ids in CA_INFO Stefan Richter
2010-03-01 11:23 ` Stefan Richter
2010-03-01 11:56 ` [PATCH update] " Stefan Richter
2010-03-06 13:52 ` [PATCH] " Mauro Carvalho Chehab
2010-03-06 14:10 ` Stefan Richter
2010-03-06 14:14 ` Stefan Richter
2010-03-06 14:46 ` Mauro Carvalho Chehab
2010-03-06 14:43 ` Mauro Carvalho Chehab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tkrat.dc97d52c76a2dc07@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=henrik@kurelid.se \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.