git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow binary only python plugins
[enigma2.git]
/
lib
/
dvb_ci
/
dvbci_camgr.cpp
diff --git
a/lib/dvb_ci/dvbci_camgr.cpp
b/lib/dvb_ci/dvbci_camgr.cpp
index b76514649a8c5f6ae692a4106b85af71a226ef90..e1afd17494b41a8b6348620e6c81246821296979 100644
(file)
--- a/
lib/dvb_ci/dvbci_camgr.cpp
+++ b/
lib/dvb_ci/dvbci_camgr.cpp
@@
-5,12
+5,12
@@
eDVBCICAManagerSession::eDVBCICAManagerSession(eDVBCISlot *tslot)
{
slot = tslot;
eDVBCICAManagerSession::eDVBCICAManagerSession(eDVBCISlot *tslot)
{
slot = tslot;
- slot->
ca_manager = this
;
+ slot->
setCAManager(this)
;
}
eDVBCICAManagerSession::~eDVBCICAManagerSession()
{
}
eDVBCICAManagerSession::~eDVBCICAManagerSession()
{
- slot->
ca_manager = 0
;
+ slot->
setCAManager(NULL)
;
}
int eDVBCICAManagerSession::receivedAPDU(const unsigned char *tag, const void *data, int len)
}
int eDVBCICAManagerSession::receivedAPDU(const unsigned char *tag, const void *data, int len)
@@
-32,6
+32,7
@@
int eDVBCICAManagerSession::receivedAPDU(const unsigned char *tag, const void *d
caids.push_back((((const unsigned char*)data)[i]<<8)|(((const unsigned char*)data)[i+1]));
}
printf("\n");
caids.push_back((((const unsigned char*)data)[i]<<8)|(((const unsigned char*)data)[i+1]));
}
printf("\n");
+ slot->resendCAPMT();
break;
default:
printf("unknown APDU tag 9F 80 %02x\n", tag[2]);
break;
default:
printf("unknown APDU tag 9F 80 %02x\n", tag[2]);
@@
-61,9
+62,10
@@
int eDVBCICAManagerSession::doAction()
int eDVBCICAManagerSession::sendCAPMT(unsigned char *data, int len)
{
int eDVBCICAManagerSession::sendCAPMT(unsigned char *data, int len)
{
- int i;
const unsigned char tag[3]={0x9F, 0x80, 0x32}; // ca_pmt
sendAPDU(tag, data, len);
const unsigned char tag[3]={0x9F, 0x80, 0x32}; // ca_pmt
sendAPDU(tag, data, len);
+
+ return 0;
}
}