X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/095b5e84fb25bab4505fc568c1e33e6d1fc6c876..7abf1d06a7a051f55708af14aef49ad7fea093ac:/lib/dvb_ci/dvbci.cpp 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) {