#2068 P25 traffic channel manager ignores traffic channel requests if the frequency value is zero (#2069)

Co-authored-by: Dennis Sheirer <dsheirer@github.com>
This commit is contained in:
Denny Sheirer
2024-10-31 05:53:42 -04:00
committed by GitHub
parent 02e236202c
commit 7509245751

View File

@@ -1062,7 +1062,7 @@ public class P25TrafficChannelManager extends TrafficChannelManager implements I
private void requestTrafficChannelStart(Channel trafficChannel, APCO25Channel apco25Channel,
IdentifierCollection identifierCollection, long timestamp)
{
if(getInterModuleEventBus() != null)
if(apco25Channel != null && apco25Channel.getDownlinkFrequency() > 0 && getInterModuleEventBus() != null)
{
SourceConfigTuner sourceConfig = new SourceConfigTuner();
sourceConfig.setFrequency(apco25Channel.getDownlinkFrequency());