aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb_ci/dvbci.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-11-15 00:36:24 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-11-15 00:36:24 +0000
commit8f86adcbb951a4d0759eb5f2c0907f9cd086b3ed (patch)
tree014675802933171addb848b253549c2718bb1b2e /lib/dvb_ci/dvbci.cpp
parent289b86cebe21ce4afae51f40945af74fc5d5b184 (diff)
downloadenigma2-8f86adcbb951a4d0759eb5f2c0907f9cd086b3ed.tar.gz
enigma2-8f86adcbb951a4d0759eb5f2c0907f9cd086b3ed.zip
fix
Diffstat (limited to 'lib/dvb_ci/dvbci.cpp')
-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 72dfd388..014d51a5 100644
--- a/lib/dvb_ci/dvbci.cpp
+++ b/lib/dvb_ci/dvbci.cpp
@@ -12,7 +12,7 @@
eDVBCIInterfaces::eDVBCIInterfaces()
{
int num_ci = 0;
-
+
eDebug("scanning for common interfaces..");
while (1)
@@ -70,7 +70,6 @@ void eDVBCISlot::data(int what)
return;
}
-
__u8 data[4096];
int r;
r = ::read(fd, data, 4096);
@@ -115,6 +114,8 @@ eDVBCISlot::eDVBCISlot(eMainloop *context, int nr)
fd = ::open(filename, O_RDWR | O_NONBLOCK);
eDebug("eDVBCISlot has fd %d", fd);
+
+ state = stateInserted;
if (fd >= 0)
{