fix resend capmt when ci is plugged into the slot
[enigma2.git] / lib / dvb_ci / dvbci_appmgr.cpp
index 7843554d685e4df51c5197af51e58e9bf682e988..f5231fceb1abc20ef43f1ee8757a72a5af4ef656 100644 (file)
@@ -6,12 +6,12 @@
 eDVBCIApplicationManagerSession::eDVBCIApplicationManagerSession(eDVBCISlot *tslot)
 {
        slot = tslot;
-       slot->application_manager       = this;
+       slot->setAppManager(this);
 }
 
 eDVBCIApplicationManagerSession::~eDVBCIApplicationManagerSession()
 {
-       slot = 0;
+       slot->setAppManager(NULL);
 }
 
 int eDVBCIApplicationManagerSession::receivedAPDU(const unsigned char *tag,const void *data, int len)