reasonably this message shouldn't even appear if we don't have the channel granted;

82-dvmbridge---implement-notch-filter-for-2175hz-trc-guard-tone
Bryan Biedenkapp 1 year ago
parent 32c49b93ea
commit cb309fdb0f

@ -787,6 +787,8 @@ bool ControlSignaling::processNetwork(uint8_t* data, uint32_t len, lc::LC& contr
case LCO::CALL_TERM: case LCO::CALL_TERM:
{ {
if (m_p25->m_dedicatedControl) { if (m_p25->m_dedicatedControl) {
// is the specified channel granted?
if (/*m_p25->m_affiliations.isChBusy(chNo) &&*/ m_p25->m_affiliations.isGranted(dstId)) {
uint32_t chNo = tsbk->getGrpVchNo(); uint32_t chNo = tsbk->getGrpVchNo();
if (m_verbose) { if (m_verbose) {
@ -794,8 +796,6 @@ bool ControlSignaling::processNetwork(uint8_t* data, uint32_t len, lc::LC& contr
tsbk->toString().c_str(), chNo, srcId, dstId); tsbk->toString().c_str(), chNo, srcId, dstId);
} }
// is the specified channel granted?
if (/*m_p25->m_affiliations.isChBusy(chNo) &&*/ m_p25->m_affiliations.isGranted(dstId)) {
m_p25->m_affiliations.releaseGrant(dstId, false); m_p25->m_affiliations.releaseGrant(dstId, false);
} }
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.