From f5a5164c440c66681a6e26d495e40f0c764314ff Mon Sep 17 00:00:00 2001 From: BPanther Date: Sat, 18 Jan 2020 10:48:38 +0100 Subject: [PATCH] vuplus: relevant pids routing - fix Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/851f4e48c018b474c0ac5bbbb90ecb25a90e7c45 Author: BPanther Date: 2020-01-18 (Sat, 18 Jan 2020) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- common/ca_ci.cpp | 4 ++-- include/ca_ci.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/ca_ci.cpp b/common/ca_ci.cpp index 44dc294..c765edf 100644 --- a/common/ca_ci.cpp +++ b/common/ca_ci.cpp @@ -1949,7 +1949,7 @@ void cCA::SetCIDelay(int Delay) } } -void cCA::SetCIRelevantPidsRouting(bool RPR, int slot) +void cCA::SetCIRelevantPidsRouting(int RPR, int slot) { char buf[64]; snprintf(buf, 64, "/proc/stb/tsmux/ci%d_relevant_pids_routing", slot); @@ -1957,7 +1957,7 @@ void cCA::SetCIRelevantPidsRouting(bool RPR, int slot) printf("%s -> %s to: %b\n", FILENAME, __func__, RPR); if (ci) { - fprintf(ci, "%s", RPR == true ? "yes" : "no"); + fprintf(ci, "%s", RPR == 1 ? "yes" : "no"); fclose(ci); } } diff --git a/include/ca_ci.h b/include/ca_ci.h index 5bb9b51..155aea9 100644 --- a/include/ca_ci.h +++ b/include/ca_ci.h @@ -333,7 +333,7 @@ public: /// dvb wait delay for ci response void SetCIDelay(int Delay); /// relevant pids routing - void SetCIRelevantPidsRouting(bool RPR, int slot = 0); + void SetCIRelevantPidsRouting(int RPR, int slot = 0); #endif /// Start the CA module