mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 23:45:49 +08:00
Ignore bad LC on network LC headers.
This commit is contained in:
@@ -350,8 +350,8 @@ void CDMRSlot::writeNetwork(const CDMRData& dmrData)
|
||||
CFullLC fullLC;
|
||||
m_lc = fullLC.decode(data + 2U, DT_VOICE_LC_HEADER);
|
||||
if (m_lc == NULL) {
|
||||
LogMessage("DMR Slot %u, bad LC received, substituting", m_slotNo);
|
||||
m_lc = new CLC(dmrData.getFLCO(), dmrData.getSrcId(), dmrData.getDstId());
|
||||
LogMessage("DMR Slot %u, bad LC received from the network", m_slotNo);
|
||||
return;
|
||||
}
|
||||
|
||||
// Regenerate the LC
|
||||
|
||||
Reference in New Issue
Block a user