mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
ca_ci: in some situations missing scambled flag (thx DboxOldie)
Origin commit data
------------------
Branch: master
Commit: fd64d23383
Author: max_10 <max_10@gmx.de>
Date: 2017-10-18 (Wed, 18 Oct 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -692,14 +692,20 @@ SlotIt cCA::FindFreeSlot(u64 TP, u8 source, u16 SID, ca_map_t camap, unsigned ch
|
|||||||
for (int j = 0; j < CI_MAX_MULTI; j++)
|
for (int j = 0; j < CI_MAX_MULTI; j++)
|
||||||
{
|
{
|
||||||
if ((*it)->TP == TP && (*it)->SID[j] == SID && (*it)->source == source)
|
if ((*it)->TP == TP && (*it)->SID[j] == SID && (*it)->source == source)
|
||||||
|
{
|
||||||
|
(*it)->scrambled = scrambled;
|
||||||
return it;
|
return it;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (it = slot_data.begin(); it != slot_data.end(); ++it)
|
for (it = slot_data.begin(); it != slot_data.end(); ++it)
|
||||||
{
|
{
|
||||||
if ((*it)->multi && (*it)->TP == TP && (*it)->source == source && (*it)->ci_use_count < CI_MAX_MULTI)
|
if ((*it)->multi && (*it)->TP == TP && (*it)->source == source && (*it)->ci_use_count < CI_MAX_MULTI)
|
||||||
return it;
|
{
|
||||||
|
(*it)->scrambled = scrambled;
|
||||||
|
return it;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (it = slot_data.begin(); it != slot_data.end(); ++it)
|
for (it = slot_data.begin(); it != slot_data.end(); ++it)
|
||||||
|
Reference in New Issue
Block a user