fix
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sat, 31 Dec 2005 16:12:32 +0000 (16:12 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sat, 31 Dec 2005 16:12:32 +0000 (16:12 +0000)
lib/dvb/frontend.cpp

index 7bceaf5..0cb910f 100644 (file)
@@ -593,12 +593,12 @@ void eDVBFrontend::tuneLoop()  // called by m_tuneTimer
                                        eDebug("[SEC] error read lnbp (%m)");
                                if ( m_sec_sequence.current()->mode == eSecCommand::modeStatic )
                                {
-                                       data[0] |= 0x90;  // enable static current limiting
+                                       data[0] |= 0x80;  // enable static current limiting
                                        eDebug("[SEC] set static current limiting");
                                }
                                else
                                {
-                                       data[0] &= ~0x90;  // enable dynamic current limiting
+                                       data[0] &= ~0x80;  // enable dynamic current limiting
                                        eDebug("[SEC] set dynamic current limiting");
                                }
                                if(::write(fd, data, 1) != 1)