Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] bug in dvb_frontend.c (fe_zigzag)?



Hi,

in fe_zigzag the used frequency is stored as fe->curfreq=sfreq;
if tuning to this frequency succeeds, then fe_zigzag will be called
again and if (fe_lock(fe)) return fe_complete(fe).

in fe_complete:

       memcpy (&ev.u.completionEvent, &fe->param,
                sizeof(FrontendParameters));

this does not copy the used frequency for which tuning succeded.
therefore, FE_GET_EVENT will get the frequency which was requested by
the application (which is rather senseless, because it already knows it
;))

so i think fe_zigzag should do fe->param.Frequency=sfreq or something
like this.

Regards,
Andreas



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index