|
@@ -78,6 +78,7 @@ static int stb6000_sleep(struct dvb_frontend *fe)
|
|
|
static int stb6000_set_params(struct dvb_frontend *fe,
|
|
|
struct dvb_frontend_parameters *params)
|
|
|
{
|
|
|
+ struct dtv_frontend_properties *p = &fe->dtv_property_cache;
|
|
|
struct stb6000_priv *priv = fe->tuner_priv;
|
|
|
unsigned int n, m;
|
|
|
int ret;
|
|
@@ -93,8 +94,8 @@ static int stb6000_set_params(struct dvb_frontend *fe,
|
|
|
|
|
|
dprintk("%s:\n", __func__);
|
|
|
|
|
|
- freq_mhz = params->frequency / 1000;
|
|
|
- bandwidth = params->u.qpsk.symbol_rate / 1000000;
|
|
|
+ freq_mhz = p->frequency / 1000;
|
|
|
+ bandwidth = p->symbol_rate / 1000000;
|
|
|
|
|
|
if (bandwidth > 31)
|
|
|
bandwidth = 31;
|