From d13a16c4d169de22391f0770105fa314303bad1a Mon Sep 17 00:00:00 2001 From: leslie Date: Mon, 15 Feb 2010 18:30:55 +0100 Subject: [PATCH] cardclient-cccam2: reply to all cmd 05 --- systems/cardclient/cccam2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: -- 2.39.5