From: leslie Date: Mon, 5 Sep 2011 12:49:10 +0000 (+0800) Subject: cardclient-camd35: remove 18xx ProvID special handling in ECM processing X-Git-Tag: upstream/620~34 X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=da4bd64b8ca546e59572ff27486324404db6ec96;p=sasc-ng.git cardclient-camd35: remove 18xx ProvID special handling in ECM processing --- 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)) {