Commit 0b63b791 authored by Marian Ďurkovič's avatar Marian Ďurkovič

en50221: Increase MAX_CASYSTEM_IDS to 64 and fix inverted logic

As reported on forum, Powercam Pro returns 38 system IDs
parent 0ae618ec
......@@ -963,7 +963,7 @@ static void ApplicationInformationOpen( access_t * p_access, int i_session_id )
* Conditional Access
*/
#define MAX_CASYSTEM_IDS 16
#define MAX_CASYSTEM_IDS 64
typedef struct
{
......@@ -973,7 +973,7 @@ typedef struct
static bool CheckSystemID( system_ids_t *p_ids, uint16_t i_id )
{
int i = 0;
if( !p_ids ) return true;
if( !p_ids ) return false;
while ( p_ids->pi_system_ids[i] )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment