small fix

Origin commit data
------------------
Branch: master
Commit: b4fa159c5c
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2018-09-05 (Wed, 05 Sep 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
BPanther
2018-09-05 18:08:50 +02:00
committed by max_10
parent e1460f1807
commit 6bbf1dab8b

View File

@@ -1652,6 +1652,13 @@ FROM_FIRST:
bool cCA::SendCaPMT(eDVBCISlot* slot)
{
printf("%s -> %s\n", FILENAME, __func__);
if (slot->fd > 0)
{
#if HAVE_ARM_HARDWARE
setInputSource(slot, true);
#endif
setSource(slot);
}
if ((slot->fd > 0) && (slot->camIsReady))
{
if (slot->hasCAManager)
@@ -1667,14 +1674,6 @@ bool cCA::SendCaPMT(eDVBCISlot* slot)
slot->camgrSession->sendSPDU(0x90, 0, 0, slot->pmtdata, slot->pmtlen);
}
}
if (slot->fd > 0)
{
#if HAVE_ARM_HARDWARE
setInputSource(slot, true);
#endif
setSource(slot);
}
return true;
}