Commit c0d9a919 authored by Jean-Paul Saman's avatar Jean-Paul Saman

DVB-S: set correct SEC_TONE value

DoDiseqc functions turns SEC_TONE_OFF before setting diseqc commands, but forgets
to set the correct SEC_TONE value afterwards. This patch always sets the wanted
SEC_TONE value as determined at the start of this function.
parent 5651c22e
......@@ -458,7 +458,7 @@ static int FrontendDoDiseqc(void)
msleep(100000); /* ... */
}
else if ( ioctl( i_frontend, FE_SET_TONE, fe_tone ) < 0 )
if ( ioctl( i_frontend, FE_SET_TONE, fe_tone ) < 0 )
{
msg_Err( NULL, "FE_SET_TONE failed (%s)", strerror(errno) );
exit(1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment