linuxdvb satconf: tone off - move log

This commit is contained in:
Jaroslav Kysela 2014-12-15 16:00:19 +01:00
parent 5d7039c6da
commit 774323d002

View file

@ -685,6 +685,7 @@ linuxdvb_satconf_tone_off ( linuxdvb_satconf_ele_t *lse, int fd, int delay )
linuxdvb_satconf_t *ls = lse->lse_parent;
if (ls->ls_last_tone_off != 1) {
tvhtrace("diseqc", "initial tone off");
if (ioctl(fd, FE_SET_TONE, SEC_TONE_OFF)) {
tvherror("diseqc", "failed to disable tone");
return -1;
@ -727,7 +728,6 @@ linuxdvb_satconf_ele_tune ( linuxdvb_satconf_ele_t *lse )
if (!lse->lse_en50494 || lse->lse_switch || lse->lse_rotor) {
if (ls->ls_diseqc_full) {
tvhtrace("diseqc", "initial tone off");
ls->ls_last_tone_off = 0; /* force */
if (linuxdvb_satconf_tone_off(lse, lfe->lfe_fe_fd, 0))
return -1;