DVB Update [PATCH 24/31] fix broken DVB-T backward compat

From: Manu Abraham
Date: Thu Sep 04 2008 - 16:31:42 EST


>From dacdc1e893068e7694a55fe140016bb6e56bc35f Mon Sep 17 00:00:00 2001
From: Manu Abraham <manu@xxxxxxxxxxx>
Date: Thu, 4 Sep 2008 14:33:07 +0200
Subject: [PATCH] DVB fix broken DVB-T backward compatibility

due to a missing break DVB-T backward compatibility was
broken all the way. The patch fixes the same.

From: Reinhard Nissl <rnissl@xxxxxx>
Signed-off-by: Reinhard Nissl <rnissl@xxxxxx>
Signed-off-by: Manu Abraham <manu@xxxxxxxxxxx>

dvb_frontend.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

>From dacdc1e893068e7694a55fe140016bb6e56bc35f Mon Sep 17 00:00:00 2001
From: Manu Abraham <manu@xxxxxxxxxxx>
Date: Thu, 4 Sep 2008 14:33:07 +0200
Subject: [PATCH] DVB fix broken DVB-T backward compatibility

due to a missing break DVB-T backward compatibility was
broken all the way. The patch fixes the same.

From: Reinhard Nissl <rnissl@xxxxxx>
Signed-off-by: Reinhard Nissl <rnissl@xxxxxx>
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 7311f0c..c54b12c 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -407,7 +407,7 @@ int newapi_to_olddrv(struct dvbfe_params *params,
ofdm->transmission_mode = TRANSMISSION_MODE_AUTO;
break;
default:
- dprintk("%s: Unsupported transmission mode %x\n", __func__, dvbt->bandwidth);
+ dprintk("%s: Unsupported transmission mode %x\n", __func__, dvbt->transmission_mode);
return -EINVAL;
}
switch (dvbt->guard_interval) {
@@ -448,6 +448,7 @@ int newapi_to_olddrv(struct dvbfe_params *params,
}
break;
}
+ break;
case DVBFE_DELSYS_ATSC:
newmod_to_oldmod(atsc->modulation, &vsb->modulation);
break;