diff --git a/src/common/network/Network.cpp b/src/common/network/Network.cpp index 8814fdb6..f2d5913e 100644 --- a/src/common/network/Network.cpp +++ b/src/common/network/Network.cpp @@ -472,7 +472,6 @@ void Network::clock(uint32_t ms) } } - if (m_debug) Utils::dump(1U, "Network::clock(), Network Rx, P25", buffer.get(), length); if (length > 512) diff --git a/src/patch/HostPatch.cpp b/src/patch/HostPatch.cpp index 563d49d8..45697a13 100644 --- a/src/patch/HostPatch.cpp +++ b/src/patch/HostPatch.cpp @@ -729,6 +729,7 @@ void HostPatch::processDMRNetwork(uint8_t* buffer, uint32_t length) m_callInProgress = false; m_rxStartTime = 0U; m_rxStreamId = 0U; + m_network->resetDMR(slotNo); return; } @@ -1078,6 +1079,8 @@ void HostPatch::processP25Network(uint8_t* buffer, uint32_t length) m_p25SrcCrypto->resetKeystream(); m_p25DstCrypto->clearMI(); m_p25DstCrypto->resetKeystream(); + + m_network->resetP25(); return; }