summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorKlaus Schmidinger <devnull@localhost>2003-02-07 13:52:11 +0000
committerKlaus Schmidinger <devnull@localhost>2003-02-07 13:52:11 +0000
commitab5a7f7d29d91f93cf44263ae0d3ec5b28973cdd (patch)
treebe85526d3d423c00e2fabe1ec905278650ee546f /linux/drivers/media
parentcd0e0c71520a83f90ea0940071a89001c8154f24 (diff)
downloadmediapointer-dvb-s2-ab5a7f7d29d91f93cf44263ae0d3ec5b28973cdd.tar.gz
mediapointer-dvb-s2-ab5a7f7d29d91f93cf44263ae0d3ec5b28973cdd.tar.bz2
Fixed overwriting slot number in CA_GET_SLOT_INFO.
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c
index 9a2289d41..460e47b9e 100644
--- a/linux/drivers/media/dvb/ttpci/av7110.c
+++ b/linux/drivers/media/dvb/ttpci/av7110.c
@@ -3343,6 +3343,7 @@ int dvb_ca_ioctl(struct inode *inode, struct file *file,
if (info->num>1)
return -EINVAL;
+ av7110->ci_slot[info->num].num = info->num;
#ifdef NEW_CI
av7110->ci_slot[info->num].type = CA_CI_LINK;
#else