Ignore bad LC on network LC headers.
This commit is contained in:
parent
34672a02ba
commit
acf43628fb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue