From: leslie Date: Mon, 15 Feb 2010 17:30:55 +0000 (+0100) Subject: cardclient-cccam2: reply to all cmd 05 X-Git-Tag: upstream/620~91 X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=d13a16c4d169de22391f0770105fa314303bad1a;p=sasc-ng.git cardclient-cccam2: reply to all cmd 05 --- diff --git a/systems/cardclient/cccam2.c b/systems/cardclient/cccam2.c index 078158b..5629007 100644 --- a/systems/cardclient/cccam2.c +++ b/systems/cardclient/cccam2.c @@ -644,14 +644,14 @@ void cCardClientCCcam2::PacketAnalyzer(const struct CmdHeader *hdr, int length) { PRINTF(L_CC_CCCAM2,"got CMD 05 (payload length=%d)",plen); if(plen>0) { - static const struct CmdHeader resp = { 0,5,0 }; LDUMP(L_CC_CCCAM2DT,((struct GenericCmd *)hdr)->payload,plen,"CMD 05 payload"); - if(!CryptSend((unsigned char *)&resp,sizeof(resp))) - PRINTF(L_CC_CCCAM2,"failed to send cmd 05 response"); keymaskpos=60; } else keymaskpos=0; + static const struct CmdHeader resp = { 0,5,0 }; + if(!CryptSend((unsigned char *)&resp,sizeof(resp))) + PRINTF(L_CC_CCCAM2,"failed to send cmd 05 response"); break; } case 6: