Commit b49f0555 authored by Ilkka Ollakka's avatar Ilkka Ollakka

dvb: actually check/print right variable on dvb-c modulation scanning

parent 1aca0772
...@@ -560,12 +560,12 @@ int scan_Next( scan_t *p_scan, scan_configuration_t *p_cfg ) ...@@ -560,12 +560,12 @@ int scan_Next( scan_t *p_scan, scan_configuration_t *p_cfg )
{ {
p_scan->parameter.i_modulation = (p_scan->parameter.i_modulation << 1 ) % 512; p_scan->parameter.i_modulation = (p_scan->parameter.i_modulation << 1 ) % 512;
/* if we iterated all modulations, move on */ /* if we iterated all modulations, move on */
if( !p_cfg->i_modulation ) if( !p_scan->parameter.i_modulation )
{ {
p_scan->parameter.i_modulation = 16; p_scan->parameter.i_modulation = 16;
p_scan->i_index++; p_scan->i_index++;
} }
msg_Dbg( p_scan->p_obj, "modulation %d ", p_cfg->i_modulation ); msg_Dbg( p_scan->p_obj, "modulation %d ", p_scan->parameter.i_modulation);
} else { } else {
p_scan->i_index++; p_scan->i_index++;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment