DVB Update [PATCH 28/31] fix wrong field usage
From: Manu Abraham
Date: Thu Sep 04 2008 - 16:34:27 EST
>From 983684e316e3450f290588e55c299af6134a73d9 Mon Sep 17 00:00:00 2001
From: Manu Abraham <manu@xxxxxxxxxxx>
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 <abraham.manu@xxxxxxxxx>
Signed-off-by: Manu Abraham <manu@xxxxxxxxxxx>
dvb_frontend.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
>From 983684e316e3450f290588e55c299af6134a73d9 Mon Sep 17 00:00:00 2001
From: Manu Abraham <manu@xxxxxxxxxxx>
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 <abraham.manu@xxxxxxxxx>
Signed-off-by: Manu Abraham <manu@xxxxxxxxxxx>
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))