mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
CI: fix some caid issues (thx dboxoldie)
Origin commit data
------------------
Branch: master
Commit: 17f98ccce1
Author: TangoCash <eric@loxat.de>
Date: 2017-11-06 (Mon, 06 Nov 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -36,11 +36,19 @@ int eDVBCICAManagerSession::receivedAPDU(const unsigned char *tag, const void *d
|
|||||||
caids.push_back((((const unsigned char*)data)[i] << 8) | (((const unsigned char*)data)[i + 1]));
|
caids.push_back((((const unsigned char*)data)[i] << 8) | (((const unsigned char*)data)[i + 1]));
|
||||||
}
|
}
|
||||||
if (!caids.empty())
|
if (!caids.empty())
|
||||||
if ((caids[0] & 0xFF00) == 0x1800)
|
{
|
||||||
|
for (u32 i = 0; i < caids.size(); i++)
|
||||||
{
|
{
|
||||||
caids.push_back(0x186A);
|
if (caids[i] == 0x1830)
|
||||||
printf("%04x", 0x186A);
|
{
|
||||||
|
caids.push_back(0x186A);
|
||||||
|
printf("%04x ", 0x186A);
|
||||||
|
caids.push_back(0x186D);
|
||||||
|
printf("%04x ", 0x186D);
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
std::sort(caids.begin(), caids.end());
|
std::sort(caids.begin(), caids.end());
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user