Browse Source

V4L/DVB (10978): Report tuning algorith correctly

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Matthias Schwarzzot 16 years ago
parent
commit
a00d0bb86b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/dvb/bt8xx/dst.c

+ 1 - 1
drivers/media/dvb/bt8xx/dst.c

@@ -1683,7 +1683,7 @@ static int dst_tune_frontend(struct dvb_frontend* fe,
 
 
 static int dst_get_tuning_algo(struct dvb_frontend *fe)
 static int dst_get_tuning_algo(struct dvb_frontend *fe)
 {
 {
-	return dst_algo;
+	return dst_algo ? DVBFE_ALGO_HW : DVBFE_ALGO_SW;
 }
 }
 
 
 static int dst_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_parameters *p)
 static int dst_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_parameters *p)