Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
network discovery: fix the wrong condition for the satellite position…
… update
  • Loading branch information
perexg committed Dec 12, 2016
1 parent 9e637ec commit eb9ad3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/mpegts/mpegts_network_dvb.c
Expand Up @@ -720,7 +720,7 @@ dvb_network_create_mux
tuning_new = tuning_old = lm->lm_tuning;
/* Always save the orbital position */
if (dmc->dmc_fe_type == DVB_TYPE_S) {
if (tuning_new.u.dmc_fe_qpsk.orbital_pos == INT_MAX ||
if (dmc->u.dmc_fe_qpsk.orbital_pos == INT_MAX ||
dvb_network_check_orbital_pos(tuning_new.u.dmc_fe_qpsk.orbital_pos,
dmc->u.dmc_fe_qpsk.orbital_pos)) {
save |= COMPARE(u.dmc_fe_qpsk.orbital_pos, CBIT_ORBITAL_POS);
Expand Down

0 comments on commit eb9ad3c

Please sign in to comment.