Return correct frequency

Signed-off-by: Julian Scheel <julian@jusst.de>
This commit is contained in:
Ralph Metzler 2018-05-28 16:40:43 +02:00
parent d13416157c
commit e13cec82e4

View File

@ -335,7 +335,9 @@ static int set_params(struct dvb_frontend *fe)
static int get_frequency(struct dvb_frontend *fe, u32 *frequency)
{
*frequency = 0;
struct stv *state = fe->tuner_priv;
*frequency = state->Frequency;
return 0;
}