git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add subtitle interface
[enigma2.git]
/
lib
/
dvb_ci
/
dvbci.cpp
diff --git
a/lib/dvb_ci/dvbci.cpp
b/lib/dvb_ci/dvbci.cpp
index b182a360fd2e9c62c9f3fe15e23cafeb24b22a57..63df265043e85902f2f72829d7ed5f8ee3060068 100644
(file)
--- 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)
{
void eDVBCISlot::data(int what)
{
- if (state == stateInvalid)
- return;
if(what == eSocketNotifier::Priority) {
if(state != stateRemoved) {
state = stateRemoved;
if(what == eSocketNotifier::Priority) {
if(state != stateRemoved) {
state = stateRemoved;
@@
-452,6
+450,9
@@
void eDVBCISlot::data(int what)
return;
}
return;
}
+ if (state == stateInvalid)
+ return;
+
if(state != stateInserted) {
eDebug("ci inserted");
state = stateInserted;
if(state != stateInserted) {
eDebug("ci inserted");
state = stateInserted;