4.11f_maint
Bryan Biedenkapp 11 months ago
parent ad8713fbe8
commit 633ff29f55

@ -1400,14 +1400,14 @@ void Slot::writeEndNet(bool writeEnd)
// release trunked grant (if necessary) // release trunked grant (if necessary)
Slot* tscc = m_dmr->getTSCCSlot(); Slot* tscc = m_dmr->getTSCCSlot();
if (tscc != nullptr) { if (tscc != nullptr) {
if (tscc->m_enableTSCC && m_rfLC != nullptr) { if (tscc->m_enableTSCC && m_netLC != nullptr) {
tscc->m_affiliations->releaseGrant(m_rfLC->getDstId(), false); tscc->m_affiliations->releaseGrant(m_netLC->getDstId(), false);
} }
clearTSCCActivated(); clearTSCCActivated();
if (!tscc->m_enableTSCC) { if (!tscc->m_enableTSCC) {
notifyCC_ReleaseGrant(m_rfLC->getDstId()); notifyCC_ReleaseGrant(m_netLC->getDstId());
} }
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.