BUGFIX: dvmpatch did not properly release the network stream ID at the termination of a call, resulting in a hang up;

r05a04_dev
Bryan Biedenkapp 1 month ago
parent 7be04dad49
commit 753ad09c6f

@ -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)

@ -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;
}

Loading…
Cancel
Save

Powered by TurnKey Linux.