fix for old api
[enigma2.git] / lib / dvb / frontend.cpp
index 6e8bcaa..9ec9a9e 100644 (file)
@@ -613,7 +613,7 @@ RESULT eDVBFrontend::sendDiseqc(const eDVBDiseqcCommand &diseqc)
        secCmdSequence seq;
        secCommand cmd;
 
-       if ( len > 3 )
+       if ( diseqc.len > 3 )
        {
                seq.numCommands=1;
                cmd.type = SEC_CMDTYPE_DISEQC_RAW;