From 31fae83b3d8b2f31b9f761731b617619d3e43156 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Sat, 23 Sep 2023 17:04:00 -0400 Subject: [PATCH] always process network grant responses regardless of dedicated control state if control processing is enabled; --- src/p25/packet/ControlSignaling.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p25/packet/ControlSignaling.cpp b/src/p25/packet/ControlSignaling.cpp index 98793869..7611986a 100644 --- a/src/p25/packet/ControlSignaling.cpp +++ b/src/p25/packet/ControlSignaling.cpp @@ -722,7 +722,7 @@ bool ControlSignaling::processNetwork(uint8_t* data, uint32_t len, lc::LC& contr switch (tsbk->getLCO()) { case TSBK_IOSP_GRP_VCH: { - if (m_p25->m_dedicatedControl) { + if (m_p25->m_enableControl) { if (!m_p25->m_affiliations.isGranted(dstId)) { if (m_verbose) { LogMessage(LOG_NET, P25_TSDU_STR ", %s, emerg = %u, encrypt = %u, prio = %u, chNo = %u, srcId = %u, dstId = %u", @@ -740,7 +740,7 @@ bool ControlSignaling::processNetwork(uint8_t* data, uint32_t len, lc::LC& contr return true; // don't allow this to write to the air case TSBK_IOSP_UU_VCH: { - if (m_p25->m_dedicatedControl) { + if (m_p25->m_enableControl) { if (!m_p25->m_affiliations.isGranted(dstId)) { if (m_verbose) { LogMessage(LOG_NET, P25_TSDU_STR ", %s, emerg = %u, encrypt = %u, prio = %u, chNo = %u, srcId = %u, dstId = %u",