Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Bug in getting CI slot info
When an application calls the CI ioctl() CA_GET_SLOT_INFO, the slot number
in the ca_slot_info_t parameter gets overwritten, and so the resulting
struct always has a slot number of 0.
Here's a patch that fixes this:
--- av7110.c Mon Jan 20 17:27:20 2003
+++ av7110.c Sat Feb 1 14:33:44 2003
@@ -3820,6 +3820,7 @@
if (info->num>1)
return -EINVAL;
+ av7110->ci_slot[info->num].num = info->num; //XXX num is always 0 in av7110->ci_slot[info->num] - kls
#ifdef NEW_CI
av7110->ci_slot[info->num].type = CA_CI_LINK;
#else
Klaus
--
_______________________________________________________________
Klaus Schmidinger Phone: +49-8635-6989-10
CadSoft Computer GmbH Fax: +49-8635-6989-40
Hofmark 2 Email: kls@cadsoft.de
D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
_______________________________________________________________
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index