From da4bd64b8ca546e59572ff27486324404db6ec96 Mon Sep 17 00:00:00 2001 From: leslie Date: Mon, 5 Sep 2011 20:49:10 +0800 Subject: [PATCH] cardclient-camd35: remove 18xx ProvID special handling in ECM processing --- systems/cardclient/camd.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/systems/cardclient/camd.c b/systems/cardclient/camd.c index 9c86a8d..1182aa9 100644 --- a/systems/cardclient/camd.c +++ b/systems/cardclient/camd.c @@ -694,11 +694,7 @@ bool cCardClientCamd35::ProcessECM(const cEcmInfo *ecm, const unsigned char *dat cb->udp_header.cmd=0x00; cb->service.srvID=bswap_16(ecm->prgId); cb->service.casID=bswap_16(ecm->caId); - switch(ecm->caId>>8) { - case 0x18: n=(data[5]*256)+data[6]; break; - default: n=ecm->provId; break; - } - cb->service.prvID=bswap_32(n); + cb->service.prvID=bswap_32(ecm->provId); cb->service.pinID=pid; memcpy(&cb->data[0],data,length); if(SendBlock(cb,length)) { -- 2.39.5