fix possible segfault

Origin commit data
------------------
Branch: ni/coolstream
Commit: e15e45f46e
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2019-12-13 (Fri, 13 Dec 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
BPanther
2019-12-13 03:05:16 +01:00
committed by vanhofen
parent 0cfd6c5f55
commit 88ded97be3

View File

@@ -1955,7 +1955,8 @@ printf("[neutrino] CScanSetup::%s: logical numbers %d\n", __FUNCTION__, scansett
fe->forceDelSys(fe_config.force_mode);
if (fe_config.force_mode == 1)
fe_config.powered = 0;
tsp->setActive(fe_config.force_mode != 1);
if (tsp)
tsp->setActive(fe_config.force_mode != 1);
ret = true;
}
return ret;