From fe7672d1c20af794e93764dec7a2baf93ee8d1c2 Mon Sep 17 00:00:00 2001 From: BPanther Date: Wed, 5 Sep 2018 18:08:50 +0200 Subject: [PATCH] small fix Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/7f515bced0a84a40bbe1818cd5a6e1944e490796 Author: BPanther Date: 2018-09-05 (Wed, 05 Sep 2018) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- common/ca_ci.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/common/ca_ci.cpp b/common/ca_ci.cpp index c691c4f..c608cdf 100644 --- a/common/ca_ci.cpp +++ b/common/ca_ci.cpp @@ -1732,6 +1732,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) @@ -1747,14 +1754,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; }