mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Resetting the CAM slot in case communication breaks down
This commit is contained in:
parent
f721c85b46
commit
69e9a07f8b
1
HISTORY
1
HISTORY
@ -1964,3 +1964,4 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed margin handling in cRingBufferLinear.
|
- Fixed margin handling in cRingBufferLinear.
|
||||||
- Now polling the output device in 'Transfer Mode' and retrying to put packets
|
- Now polling the output device in 'Transfer Mode' and retrying to put packets
|
||||||
into the ring buffer.
|
into the ring buffer.
|
||||||
|
- Resetting the CAM slot in case communication breaks down.
|
||||||
|
14
ci.c
14
ci.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: ci.c 1.5 2003/02/09 12:45:00 kls Exp $
|
* $Id: ci.c 1.6 2003/02/15 14:14:57 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* XXX TODO
|
/* XXX TODO
|
||||||
@ -1453,13 +1453,11 @@ void cCiHandler::Process(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else if (CloseAllSessions(Slot))
|
||||||
if (!CloseAllSessions(Slot)) {
|
tpl->ResetSlot(Slot);
|
||||||
if (tpl->ModuleReady(Slot)) {
|
else if (tpl->ModuleReady(Slot)) {
|
||||||
dbgprotocol("Module ready in slot %d\n", Slot);
|
dbgprotocol("Module ready in slot %d\n", Slot);
|
||||||
tpl->NewConnection(Slot);
|
tpl->NewConnection(Slot);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (int i = 0; i < MAX_CI_SESSION; i++) {
|
for (int i = 0; i < MAX_CI_SESSION; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user