always process network grant responses regardless of dedicated control state if control processing is enabled;

pull/41/head
Bryan Biedenkapp 2 years ago
parent 9a871eba41
commit 31fae83b3d

@ -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",

Loading…
Cancel
Save

Powered by TurnKey Linux.