aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRonny Strutz <ronny.strutz@multimedia-labs.de>2005-08-13 00:48:32 +0000
committerRonny Strutz <ronny.strutz@multimedia-labs.de>2005-08-13 00:48:32 +0000
commit7b56077dd54d70a237abf8bc8c53169f39a9575e (patch)
tree01b80f3eeebc5cbc3bac47def631193a149822c8 /lib
parent61402686fd1130b5b183fbe853927180be1ba1e1 (diff)
downloadenigma2-7b56077dd54d70a237abf8bc8c53169f39a9575e.tar.gz
enigma2-7b56077dd54d70a237abf8bc8c53169f39a9575e.zip
use POLLPRI for (HUP suckz - not maskable)
Diffstat (limited to 'lib')
-rw-r--r--lib/dvb_ci/dvbci.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/dvb_ci/dvbci.cpp b/lib/dvb_ci/dvbci.cpp
index cb533342..6a748118 100644
--- a/lib/dvb_ci/dvbci.cpp
+++ b/lib/dvb_ci/dvbci.cpp
@@ -51,14 +51,14 @@ int eDVBCISlot::send(const unsigned char *data, size_t len)
printf("write() %d\n",res);
- notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::Hungup|eSocketNotifier::Write);
+ notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::Priority|eSocketNotifier::Write);
return res;
}
void eDVBCISlot::data(int what)
{
- if(what == eSocketNotifier::Hungup) {
+ if(what == eSocketNotifier::Priority) {
if(state != stateRemoved) {
state = stateRemoved;
printf("ci removed\n");
@@ -80,7 +80,7 @@ void eDVBCISlot::data(int what)
/* enable HUP to detect removal or errors */
//notifier_event->start();
- notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::Hungup|eSocketNotifier::Write);
+ notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::Priority|eSocketNotifier::Write);
}
if(r > 0) {
@@ -91,7 +91,7 @@ void eDVBCISlot::data(int what)
printf("\n");
//eDebug("ci talks to us");
eDVBCISession::receiveData(this, data, r);
- notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::Hungup|eSocketNotifier::Write);
+ notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::Priority|eSocketNotifier::Write);
return;
}
@@ -99,7 +99,7 @@ void eDVBCISlot::data(int what)
printf("pollall\n");
if(eDVBCISession::pollAll() == 0) {
printf("disable pollout\n");
- notifier->setRequested(eSocketNotifier::Read | eSocketNotifier::Hungup);
+ notifier->setRequested(eSocketNotifier::Read | eSocketNotifier::Priority);
}
return;
}
@@ -119,7 +119,7 @@ eDVBCISlot::eDVBCISlot(eMainloop *context, int nr)
if (fd >= 0)
{
- notifier = new eSocketNotifier(context, fd, eSocketNotifier::Read | eSocketNotifier::Hungup);
+ notifier = new eSocketNotifier(context, fd, eSocketNotifier::Read | eSocketNotifier::Priority);
CONNECT(notifier->activated, eDVBCISlot::data);
} else
{