[media] dvb: don't use DVBv3 bandwidth macros
Every frontend now uses DVBv5 way. So, let's not use the DVBv3
macros internally anymore.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
diff --git a/drivers/media/dvb/dvb-usb/mxl111sf-tuner.c b/drivers/media/dvb/dvb-usb/mxl111sf-tuner.c
index 3a533df..72db6ee 100644
--- a/drivers/media/dvb/dvb-usb/mxl111sf-tuner.c
+++ b/drivers/media/dvb/dvb-usb/mxl111sf-tuner.c
@@ -279,7 +279,6 @@
struct mxl111sf_tuner_state *state = fe->tuner_priv;
int ret;
u8 bw;
- u32 band = BANDWIDTH_6_MHZ;
mxl_dbg("()");
@@ -297,11 +296,9 @@
break;
case 7000000:
bw = 7;
- band = BANDWIDTH_7_MHZ;
break;
case 8000000:
bw = 8;
- band = BANDWIDTH_8_MHZ;
break;
default:
err("%s: bandwidth not set!", __func__);
@@ -317,7 +314,7 @@
goto fail;
state->frequency = c->frequency;
- state->bandwidth = band;
+ state->bandwidth = c->bandwidth_hz;
fail:
return ret;
}