Robert Schlabbach wrote:
> Oops, a classic copy&paste error:
> 
> // determine band
>               if (fe_params->frequency < 49000000) {
>         return -EINVAL;
>               } else if (tuner_frequency < 159000000) {
>         band = 1;
>               } else if (tuner_frequency < 444000000) {
>         band = 2;
>               } else if (tuner_frequency < 861000000) {
>         band = 4;
>               } else {
>         return -EINVAL;
>               }
> 
> ALL comparisons should be against fe_params->frequency, not
> tuner_frequency...
> 
> Sorry, I don't have any CVS tools (or any Linux/Unix tools at that), so I
> cannot submit a fix myself. Just replace the three occurrences of
> "tuner_frequency" above with "fe_params->frequency" and the issue should be
> fixed (and tuning on channels close to the band limits improved).

Comitted.

Thanks,
Johannes


-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as 
subject.

Reply via email to