summaryrefslogtreecommitdiff
path: root/ci.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-08-02 10:04:21 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-08-02 10:04:21 +0200
commita021b0f1bf14f612481dd6a960a1f79f6385daa8 (patch)
treefbfe5f3220fd8cf7c83c3996e2b6cd7504b94ab2 /ci.c
parent0485e5ad00446f31deaf981fb10855b1dc870f34 (diff)
downloadvdr-a021b0f1bf14f612481dd6a960a1f79f6385daa8.tar.gz
vdr-a021b0f1bf14f612481dd6a960a1f79f6385daa8.tar.bz2
Fixed checking CA capabilities with the dvb-kernel driver
Diffstat (limited to 'ci.c')
-rw-r--r--ci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci.c b/ci.c
index 3575d142..e94c20a0 100644
--- a/ci.c
+++ b/ci.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: ci.c 1.15 2003/05/25 11:45:11 kls Exp $
+ * $Id: ci.c 1.16 2003/08/02 10:00:01 kls Exp $
*/
/* XXX TODO
@@ -1314,7 +1314,7 @@ cCiHandler *cCiHandler::CreateCiHandler(const char *FileName)
int NumSlots = Caps.slot_num;
if (NumSlots > 0) {
//XXX dsyslog("CAM: found %d CAM slots", NumSlots); // TODO let's do this only once we can be sure that there _really_ is a CAM adapter!
- if (Caps.slot_type == CA_CI_LINK)
+ if ((Caps.slot_type & CA_CI_LINK) != 0)
return new cCiHandler(fd_ca, NumSlots);
else
isyslog("CAM doesn't support link layer interface");