aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb_ci
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-05-27 12:15:13 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-05-27 12:15:13 +0000
commita14453e375c72eae797ef3c93971c08eb05f8529 (patch)
tree9b79a584d32628c2517d5a466e3ddbafae766d31 /lib/dvb_ci
parentff3e20702fe0458bdefbb42f851ba29c64c6da69 (diff)
downloadenigma2-a14453e375c72eae797ef3c93971c08eb05f8529.tar.gz
enigma2-a14453e375c72eae797ef3c93971c08eb05f8529.zip
fix enigma2 all systemresources (high systemload) since previous CI changes
Diffstat (limited to 'lib/dvb_ci')
-rw-r--r--lib/dvb_ci/dvbci.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/dvb_ci/dvbci.cpp b/lib/dvb_ci/dvbci.cpp
index b182a360..63df2650 100644
--- a/lib/dvb_ci/dvbci.cpp
+++ b/lib/dvb_ci/dvbci.cpp
@@ -433,8 +433,6 @@ int eDVBCISlot::send(const unsigned char *data, size_t len)
void eDVBCISlot::data(int what)
{
- if (state == stateInvalid)
- return;
if(what == eSocketNotifier::Priority) {
if(state != stateRemoved) {
state = stateRemoved;
@@ -452,6 +450,9 @@ void eDVBCISlot::data(int what)
return;
}
+ if (state == stateInvalid)
+ return;
+
if(state != stateInserted) {
eDebug("ci inserted");
state = stateInserted;