>From 983684e316e3450f290588e55c299af6134a73d9 Mon Sep 17 00:00:00 2001 From: Manu Abraham Date: Thu, 4 Sep 2008 14:53:34 +0200 Subject: [PATCH] DVB fix using a wrong field A wrong field was used, although not a routine that we are using after the API update. From: Manu Abraham Signed-off-by: Manu Abraham diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c index 70b6ca0..42ed894 100644 --- a/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb/dvb-core/dvb_frontend.c @@ -623,7 +623,7 @@ static int dvbfe_sanity_check(struct dvb_frontend *fe) (fepriv->fe_params.frequency > fepriv->fe_info.frequency_max)) return -EINVAL; - switch (fepriv->fe_params.delivery) { + switch (fepriv->delsys) { case DVBFE_DELSYS_DVBS: if (!(fepriv->fe_params.delsys.dvbs.modulation & fepriv->fe_info.delsys.dvbs.modulation))